Interface OpenApiRuntimeConfig
@ConfigRoot(phase=RUN_TIME)
@ConfigMapping(prefix="quarkus.smallrye-openapi")
public interface OpenApiRuntimeConfig
-
Method Summary
Modifier and TypeMethodDescription@WithUnnamedKey("<default>") Map<String, OpenApiDocumentRuntimeConfig> OpenAPI documentsenable()Deprecated, for removal: This API element is subject to removal in a future version.booleanenabled()Enable the openapi endpoint.servers()Deprecated, for removal: This API element is subject to removal in a future version.Usedocuments()with keyOpenApiConstants.DEFAULT_DOCUMENT_NAMEinstead
-
Method Details
-
enabled
@WithDefault("true") boolean enabled()Enable the openapi endpoint. By default it's enabled. -
enable
Deprecated, for removal: This API element is subject to removal in a future version.usequarkus.smallrye-openapi.enabledinsteadEnable the openapi endpoint. By default it's enabled. -
servers
Deprecated, for removal: This API element is subject to removal in a future version.Usedocuments()with keyOpenApiConstants.DEFAULT_DOCUMENT_NAMEinsteadSpecify the list of global servers that provide connectivity information -
documents
@WithParentName @WithUnnamedKey("<default>") @WithDefaults @WithUnnamedKey("<default>") Map<String,OpenApiDocumentRuntimeConfig> documents()OpenAPI documents
-
quarkus.smallrye-openapi.enabledinstead