Class OpenAPIRuntimeBuilder

java.lang.Object
io.smallrye.openapi.api.SmallRyeOpenAPI.Builder
io.quarkus.smallrye.openapi.runtime.OpenAPIRuntimeBuilder

class OpenAPIRuntimeBuilder extends io.smallrye.openapi.api.SmallRyeOpenAPI.Builder
Customized SmallRyeOpenAPI.Builder implementation that only includes functionality that should occur at application runtime. Specifically, it only supports loading a static OpenAPI file/stream, applying OASFilter instances, and writing the OpenAPI model to a DOM for later serialization to JSON or YAML.
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.smallrye.openapi.api.SmallRyeOpenAPI.Builder

    io.smallrye.openapi.api.SmallRyeOpenAPI.Builder.BuildContext<V extends Object,A extends V,O extends V,AB extends Object,OB extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <V, A extends V, O extends V, AB, OB>
    io.smallrye.openapi.api.SmallRyeOpenAPI
     

    Methods inherited from class io.smallrye.openapi.api.SmallRyeOpenAPI.Builder

    addFilter, addFilter, addFilterName, buildAnnotationModel, buildFinalize, buildPrepare, buildReaderModel, buildStandardFilter, buildStaticModel, defaultRequiredProperties, enableAnnotationScan, enableModelReader, enableStandardFilter, enableStandardStaticFiles, enableUnannotatedPathParameters, getContext, removeContext, withApplicationClassLoader, withConfig, withContextRootResolver, withCustomStaticFile, withFilterNames, withFilterNames, withFilters, withIndex, withInitialModel, withJsonParser, withOperationHandler, withResourceLocator, withScannerClassLoader, withScannerFilter, withSchemaParser, withTypeConverter

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OpenAPIRuntimeBuilder

      OpenAPIRuntimeBuilder()
  • Method Details

    • build

      public <V, A extends V, O extends V, AB, OB> io.smallrye.openapi.api.SmallRyeOpenAPI build()
      Overrides:
      build in class io.smallrye.openapi.api.SmallRyeOpenAPI.Builder