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
      • perAppFilteredIndexViews

        public List<io.smallrye.openapi.runtime.scanner.FilteredIndexView> perAppFilteredIndexViews()
        Description copied from class: OpenAPISupport.Builder
        Returns zero or more FilteredIndexView instances, each of which to be used in constructing an OpenAPI model that is merged with the others. This is particularly useful for supporting multiple Application instances in a single server.
        Specified by:
        perAppFilteredIndexViews in class OpenAPISupport.Builder
        Returns:
        possibly empty List of FilteredIndexView objects
      • 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