Package io.helidon.microprofile.openapi
Class MPOpenAPIBuilder
java.lang.Object
io.helidon.openapi.OpenAPISupport.Builder<MPOpenAPIBuilder>
io.helidon.microprofile.openapi.MPOpenAPIBuilder
- All Implemented Interfaces:
- Builder<MPOpenAPIBuilder,,- OpenAPISupport> - Supplier<OpenAPISupport>
Fluent builder for OpenAPISupport in Helidon MP.
- 
Field SummaryFields inherited from class io.helidon.openapi.OpenAPISupport.BuilderCONFIG_KEY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionio.helidon.microprofile.openapi.MPOpenAPISupportbuild()Build the instance from this builder.Assigns various OpenAPI settings from the specified MP OpenAPIConfigobject.Returns the supplier of index views.io.smallrye.openapi.api.OpenApiConfigReturns the smallrye OpenApiConfig instance describing the set-up that will govern the smallrye OpenAPI behavior.voidvalidate()Makes sure the set-up for OpenAPI is consistent, internally and with the current Helidon runtime environment (SE or MP).Methods inherited from class io.helidon.openapi.OpenAPISupport.Builderconfig, crossOriginConfig, staticFile, ui, webContext
- 
Constructor Details- 
MPOpenAPIBuilderpublic MPOpenAPIBuilder()
 
- 
- 
Method Details- 
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<MPOpenAPIBuilder>
- Returns:
- OpenApiConfigconveying how OpenAPI should behave
 
- 
buildpublic io.helidon.microprofile.openapi.MPOpenAPISupport build()Description copied from interface:BuilderBuild the instance from this builder.- Returns:
- instance of the built type
 
- 
configAssigns various OpenAPI settings from the specified MP OpenAPIConfigobject.- Parameters:
- mpConfig- the OpenAPI- Configobject possibly containing settings
- Returns:
- updated builder instance
 
- 
indexViewsSupplierDescription copied from class:OpenAPISupport.BuilderReturns the supplier of index views.- Overrides:
- indexViewsSupplierin class- OpenAPISupport.Builder<MPOpenAPIBuilder>
- Returns:
- index views supplier
 
- 
validateDescription copied from class:OpenAPISupport.BuilderMakes sure the set-up for OpenAPI is consistent, internally and with the current Helidon runtime environment (SE or MP).- Overrides:
- validatein class- OpenAPISupport.Builder<MPOpenAPIBuilder>
- Throws:
- IllegalStateException- if validation fails
 
 
-