Class OpenApiDocumentService
java.lang.Object
io.quarkus.smallrye.openapi.runtime.OpenApiDocumentService
- All Implemented Interfaces:
OpenApiDocumentHolder
@ApplicationScoped
public class OpenApiDocumentService
extends Object
implements OpenApiDocumentHolder
Loads the document and make it available
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static class
Generate the document on every request.(package private) static class
Generate the document once on creation. -
Constructor Summary
ConstructorDescriptionOpenApiDocumentService
(org.eclipse.microprofile.openapi.OASFilter autoSecurityFilter, OpenApiRecorder.UserDefinedRuntimeFilters userDefinedRuntimeFilters, org.eclipse.microprofile.config.Config config) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
byte[]
(package private) void
reset
(ShutdownEvent event) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.quarkus.smallrye.openapi.runtime.OpenApiDocumentHolder
getDocument
-
Constructor Details
-
OpenApiDocumentService
public OpenApiDocumentService(org.eclipse.microprofile.openapi.OASFilter autoSecurityFilter, OpenApiRecorder.UserDefinedRuntimeFilters userDefinedRuntimeFilters, org.eclipse.microprofile.config.Config config)
-
-
Method Details
-
reset
-
getJsonDocument
public byte[] getJsonDocument()- Specified by:
getJsonDocument
in interfaceOpenApiDocumentHolder
-
getYamlDocument
public byte[] getYamlDocument()- Specified by:
getYamlDocument
in interfaceOpenApiDocumentHolder
-