Package io.helidon.openapi.internal
Class OpenAPIConfigImpl
- java.lang.Object
-
- io.helidon.openapi.internal.OpenAPIConfigImpl
-
- All Implemented Interfaces:
io.smallrye.openapi.api.OpenApiConfig
public class OpenAPIConfigImpl extends Object implements io.smallrye.openapi.api.OpenApiConfig
Helidon-specific implementation of the smallrye OpenApiConfig interface, loadable from a HelidonConfigobject as well as individual items settable programmatically.Helidon SE does not support annotation scanning, so we do not need a way to set the scanning-related values. We just initialize them appropriately.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenAPIConfigImpl.BuilderFluent builder forOpenAPIConfigImpl.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapplicationPathDisable()static OpenAPIConfigImpl.Builderbuilder()Creates a new builder for composing an OpenAPI config instance.StringcustomSchemaRegistryClass()Stringfilter()StringmodelReader()Set<String>operationServers(String operationID)Set<String>pathServers(String path)Set<String>scanClasses()booleanscanDependenciesDisable()Set<String>scanDependenciesJars()booleanscanDisable()Set<String>scanExcludeClasses()Set<String>scanExcludePackages()Set<String>scanPackages()booleanschemaReferencesEnable()Set<String>servers()
-
-
-
Method Detail
-
builder
public static OpenAPIConfigImpl.Builder builder()
Creates a new builder for composing an OpenAPI config instance.- Returns:
- the new
Builder
-
modelReader
public String modelReader()
- Specified by:
modelReaderin interfaceio.smallrye.openapi.api.OpenApiConfig
-
filter
public String filter()
- Specified by:
filterin interfaceio.smallrye.openapi.api.OpenApiConfig
-
scanDisable
public boolean scanDisable()
- Specified by:
scanDisablein interfaceio.smallrye.openapi.api.OpenApiConfig
-
scanPackages
public Set<String> scanPackages()
- Specified by:
scanPackagesin interfaceio.smallrye.openapi.api.OpenApiConfig
-
scanClasses
public Set<String> scanClasses()
- Specified by:
scanClassesin interfaceio.smallrye.openapi.api.OpenApiConfig
-
scanExcludePackages
public Set<String> scanExcludePackages()
- Specified by:
scanExcludePackagesin interfaceio.smallrye.openapi.api.OpenApiConfig
-
scanExcludeClasses
public Set<String> scanExcludeClasses()
- Specified by:
scanExcludeClassesin interfaceio.smallrye.openapi.api.OpenApiConfig
-
servers
public Set<String> servers()
- Specified by:
serversin interfaceio.smallrye.openapi.api.OpenApiConfig
-
pathServers
public Set<String> pathServers(String path)
- Specified by:
pathServersin interfaceio.smallrye.openapi.api.OpenApiConfig
-
operationServers
public Set<String> operationServers(String operationID)
- Specified by:
operationServersin interfaceio.smallrye.openapi.api.OpenApiConfig
-
scanDependenciesDisable
public boolean scanDependenciesDisable()
- Specified by:
scanDependenciesDisablein interfaceio.smallrye.openapi.api.OpenApiConfig
-
scanDependenciesJars
public Set<String> scanDependenciesJars()
- Specified by:
scanDependenciesJarsin interfaceio.smallrye.openapi.api.OpenApiConfig
-
schemaReferencesEnable
public boolean schemaReferencesEnable()
- Specified by:
schemaReferencesEnablein interfaceio.smallrye.openapi.api.OpenApiConfig
-
customSchemaRegistryClass
public String customSchemaRegistryClass()
- Specified by:
customSchemaRegistryClassin interfaceio.smallrye.openapi.api.OpenApiConfig
-
applicationPathDisable
public boolean applicationPathDisable()
- Specified by:
applicationPathDisablein interfaceio.smallrye.openapi.api.OpenApiConfig
-
-