- java.lang.Object
- 
- io.helidon.openapi.OpenAPISupport.Builder<SEOpenAPISupportBuilder>
- 
- io.helidon.openapi.SEOpenAPISupportBuilder
 
 
- 
- All Implemented Interfaces:
- Builder<OpenAPISupport>,- Supplier<OpenAPISupport>
 
 public final class SEOpenAPISupportBuilder extends OpenAPISupport.Builder<SEOpenAPISupportBuilder> BuildsOpenAPISupportin a Helidon SE environment.The builder mostly delegates to an instance of Helidon's OpenAPIConfigImpl.Builderwhich in turn prepares a smallryeOpenApiConfigwhich is what the smallrye implementation uses to control its behavior.
- 
- 
Field Summary- 
Fields inherited from class io.helidon.openapi.OpenAPISupport.BuilderCONFIG_KEY
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedSEOpenAPISupportBuilder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description SEOpenAPISupportBuilderaddOperationServer(String operationID, String operationServer)Adds an operation server for a given operation ID.SEOpenAPISupportBuilderaddPathServer(String path, String pathServer)Adds a path server for a given path.io.helidon.openapi.SEOpenAPISupportbuild()Build the instance from this builder.SEOpenAPISupportBuilderconfig(Config config)Set various builder attributes from the specified openapiConfigobject.SEOpenAPISupportBuilderfilter(String className)Set the app-provided OpenAPI model filter class.SEOpenAPISupportBuildermodelReader(String className)Sets the app-provided model reader class.io.smallrye.openapi.api.OpenApiConfigopenAPIConfig()Returns the smallrye OpenApiConfig instance describing the set-up that will govern the smallrye OpenAPI behavior.SEOpenAPISupportBuilderservers(String serverList)Sets the servers which offer the endpoints in the OpenAPI document.- 
Methods inherited from class io.helidon.openapi.OpenAPISupport.BuildercrossOriginConfig, indexViewsSupplier, me, staticFile, ui, validate, webContext
 
- 
 
- 
- 
- 
Method Detail- 
configpublic SEOpenAPISupportBuilder config(Config config) Set various builder attributes from the specified openapiConfigobject.The Configobject can specify web-context and static-file in addition to settings supported byOpenAPIConfigImpl.Builder.- Overrides:
- configin class- OpenAPISupport.Builder<SEOpenAPISupportBuilder>
- Parameters:
- config- the OpenAPI- Configobject possibly containing settings
- Returns:
- updated builder instance
- Throws:
- NullPointerException- if the provided- Configis null
 
 - 
buildpublic io.helidon.openapi.SEOpenAPISupport build() Description copied from interface:BuilderBuild the instance from this builder.- Returns:
- instance of the built type
 
 - 
openAPIConfigpublic io.smallrye.openapi.api.OpenApiConfig openAPIConfig() Description copied from class:OpenAPISupport.BuilderReturns the smallrye OpenApiConfig instance describing the set-up that will govern the smallrye OpenAPI behavior.- Specified by:
- openAPIConfigin class- OpenAPISupport.Builder<SEOpenAPISupportBuilder>
- Returns:
- OpenApiConfigconveying how OpenAPI should behave
 
 - 
modelReaderpublic SEOpenAPISupportBuilder modelReader(String className) Sets the app-provided model reader class.- Parameters:
- className- name of the model reader class
- Returns:
- updated builder instance
 
 - 
filterpublic SEOpenAPISupportBuilder filter(String className) Set the app-provided OpenAPI model filter class.- Parameters:
- className- name of the filter class
- Returns:
- updated builder instance
 
 - 
serverspublic SEOpenAPISupportBuilder servers(String serverList) Sets the servers which offer the endpoints in the OpenAPI document.- Parameters:
- serverList- comma-separated list of servers
- Returns:
- updated builder instance
 
 - 
addOperationServerpublic SEOpenAPISupportBuilder addOperationServer(String operationID, String operationServer) Adds an operation server for a given operation ID.- Parameters:
- operationID- operation ID to which the server corresponds
- operationServer- name of the server to add for this operation
- Returns:
- updated builder instance
 
 - 
addPathServerpublic SEOpenAPISupportBuilder addPathServer(String path, String pathServer) Adds a path server for a given path.- Parameters:
- path- path to which the server corresponds
- pathServer- name of the server to add for this path
- Returns:
- updated builder instance
 
 
- 
 
-