Package io.smallrye.openapi.api
Interface OpenApiConfig
-
- All Known Implementing Classes:
OpenApiConfigImpl
public interface OpenApiConfig
Accessor to OpenAPI configuration options. Reference: https://github.com/eclipse/microprofile-open-api/blob/master/spec/src/main/asciidoc/microprofile-openapi-spec.asciidoc#list-of-configurable-items- Author:
- [email protected]
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
OpenApiConfig.AutoInheritance
static class
OpenApiConfig.DuplicateOperationIdBehavior
static class
OpenApiConfig.OperationIdStrategy
-
Field Summary
Fields Modifier and Type Field Description static OpenApiConfig.DuplicateOperationIdBehavior
DUPLICATE_OPERATION_ID_BEHAVIOR_DEFAULT
static Integer
MAXIMUM_STATIC_FILE_SIZE_DEFAULT
-
Method Summary
-
-
-
Field Detail
-
DUPLICATE_OPERATION_ID_BEHAVIOR_DEFAULT
static final OpenApiConfig.DuplicateOperationIdBehavior DUPLICATE_OPERATION_ID_BEHAVIOR_DEFAULT
-
MAXIMUM_STATIC_FILE_SIZE_DEFAULT
static final Integer MAXIMUM_STATIC_FILE_SIZE_DEFAULT
-
-
Method Detail
-
fromConfig
static OpenApiConfig fromConfig(org.eclipse.microprofile.config.Config config)
-
getConfigValue
<R,T> T getConfigValue(String propertyName, Class<R> type, Function<R,T> converter, Supplier<T> defaultValue)
-
getConfigValueMap
<R,T> Map<String,T> getConfigValueMap(String propertyNamePrefix, Class<R> type, Function<R,T> converter)
-
getConfigValue
default <T> T getConfigValue(String propertyName, Class<T> type, Supplier<T> defaultValue)
-
modelReader
default String modelReader()
-
filter
default String filter()
-
scanDisable
default boolean scanDisable()
-
scanBeanValidation
default boolean scanBeanValidation()
-
scanDependenciesDisable
default boolean scanDependenciesDisable()
-
arrayReferencesEnable
default boolean arrayReferencesEnable()
-
customSchemaRegistryClass
default String customSchemaRegistryClass()
-
applicationPathDisable
default boolean applicationPathDisable()
-
privatePropertiesEnable
default boolean privatePropertiesEnable()
-
propertyNamingStrategy
default String propertyNamingStrategy()
-
sortedPropertiesEnable
default boolean sortedPropertiesEnable()
-
getOpenApiVersion
default String getOpenApiVersion()
-
getInfoTitle
default String getInfoTitle()
-
getInfoVersion
default String getInfoVersion()
-
getInfoDescription
default String getInfoDescription()
-
getInfoTermsOfService
default String getInfoTermsOfService()
-
getInfoContactEmail
default String getInfoContactEmail()
-
getInfoContactName
default String getInfoContactName()
-
getInfoContactUrl
default String getInfoContactUrl()
-
getInfoLicenseName
default String getInfoLicenseName()
-
getInfoLicenseUrl
default String getInfoLicenseUrl()
-
getOperationIdStrategy
default OpenApiConfig.OperationIdStrategy getOperationIdStrategy()
-
getDuplicateOperationIdBehavior
default OpenApiConfig.DuplicateOperationIdBehavior getDuplicateOperationIdBehavior()
-
setAllowNakedPathParameter
void setAllowNakedPathParameter(Boolean allowNakedPathParameter)
-
doAllowNakedPathParameter
default void doAllowNakedPathParameter()
-
removeUnusedSchemas
default boolean removeUnusedSchemas()
-
getMaximumStaticFileSize
default Integer getMaximumStaticFileSize()
-
getAutoInheritance
default OpenApiConfig.AutoInheritance getAutoInheritance()
-
-