Class MPOpenAPIBuilder

    • Constructor Detail

      • MPOpenAPIBuilder

        public MPOpenAPIBuilder()
    • Method Detail

      • openAPIConfig

        public io.smallrye.openapi.api.OpenApiConfig openAPIConfig()
        Description copied from class: OpenAPISupport.Builder
        Returns the smallrye OpenApiConfig instance describing the set-up that will govern the smallrye OpenAPI behavior.
        Specified by:
        openAPIConfig in class OpenAPISupport.Builder
        Returns:
        OpenApiConfig conveying how OpenAPI should behave
      • indexView

        public org.jboss.jandex.IndexView indexView()
        Description copied from class: OpenAPISupport.Builder
        Returns the Jandex IndexView containing annotated endpoint classes.
        Specified by:
        indexView in class OpenAPISupport.Builder
        Returns:
        IndexView containing endpoint classes
      • openAPIConfig

        public MPOpenAPIBuilder openAPIConfig​(io.smallrye.openapi.api.OpenApiConfig config)
        Sets the OpenApiConfig instance to use in governing the behavior of the smallrye OpenApi implementation.
        Parameters:
        config - OpenApiConfig instance to control OpenAPI behavior
        Returns:
        updated builder instance
      • indexView

        public MPOpenAPIBuilder indexView​(org.jboss.jandex.IndexView indexView)
        Sets the IndexView instance to be passed to the smallrye OpenApi impl for annotation analysis.
        Parameters:
        indexView - IndexView instance containing endpoint classes
        Returns:
        updated builder instance