public interface OASProviderResult
OpenAPI
, OpenAPI Specification document and the OASProviderConfig
representing this result.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDocument()
This method can be used to provide OpenAPI Specification document.
|
OASProviderConfig |
getOASProviderConfig() |
io.swagger.oas.models.OpenAPI |
getOpenAPI()
This method can be used to provide OpenAPI Specification document.
|
io.swagger.oas.models.OpenAPI getOpenAPI()
getOpenAPI
and getDocument
methods return documents, getOpenAPI
takes
precedence.OpenAPI
model representing the document. Must return null
if getDocument
is supposed to provide the OpenAPI spec document.java.lang.String getDocument()
getOpenAPI
and getDocument
methods return documents, getOpenAPI
takes
precedence.OASProviderConfig getOASProviderConfig()
OASProviderConfig
representing the result.