Class OpenApiDocumentService
- java.lang.Object
-
- io.quarkus.smallrye.openapi.runtime.OpenApiDocumentService
-
@ApplicationScoped public class OpenApiDocumentService extends Object
Loads the document and make it available
-
-
Constructor Summary
Constructors Constructor Description OpenApiDocumentService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidcreate()byte[]getDocument(io.smallrye.openapi.runtime.io.Format format)byte[]getJsonDocument()byte[]getYamlDocument()
-
-
-
Method Detail
-
create
@PostConstruct void create() throws IOException- Throws:
IOException
-
getJsonDocument
public byte[] getJsonDocument()
-
getYamlDocument
public byte[] getYamlDocument()
-
getDocument
public byte[] getDocument(io.smallrye.openapi.runtime.io.Format format)
-
-