Class OpenApiDocumentService.StaticDocument
java.lang.Object
io.quarkus.smallrye.openapi.runtime.OpenApiDocumentService.StaticDocument
- All Implemented Interfaces:
OpenApiDocumentHolder
- Enclosing class:
OpenApiDocumentService
Generate the document once when resolved by the deferred openapi.
-
Constructor Summary
ConstructorsConstructorDescriptionStaticDocument(boolean hasStartup, Supplier<io.smallrye.openapi.api.SmallRyeOpenAPI.Builder> openAPISupplier) -
Method Summary
-
Constructor Details
-
StaticDocument
StaticDocument(boolean hasStartup, Supplier<io.smallrye.openapi.api.SmallRyeOpenAPI.Builder> openAPISupplier)
-
-
Method Details
-
getJsonDocument
public byte[] getJsonDocument()- Specified by:
getJsonDocumentin interfaceOpenApiDocumentHolder
-
getYamlDocument
public byte[] getYamlDocument()- Specified by:
getYamlDocumentin interfaceOpenApiDocumentHolder
-