Class OpenAPIConfigImpl

  • All Implemented Interfaces:
    io.smallrye.openapi.api.OpenApiConfig

    public class OpenAPIConfigImpl
    extends Object
    implements io.smallrye.openapi.api.OpenApiConfig
    Helidon-specific implementation of the smallrye OpenApiConfig interface, loadable from a Helidon Config object as well as individual items settable programmatically.

    Helidon SE does not support annotation scanning, so we do not need a way to set the scanning-related values. We just initialize them appropriately.

    • Method Detail

      • builder

        public static OpenAPIConfigImpl.Builder builder()
        Creates a new builder for composing an OpenAPI config instance.
        Returns:
        the new Builder
      • modelReader

        public String modelReader()
        Specified by:
        modelReader in interface io.smallrye.openapi.api.OpenApiConfig
      • filter

        public String filter()
        Specified by:
        filter in interface io.smallrye.openapi.api.OpenApiConfig
      • scanDisable

        public boolean scanDisable()
        Specified by:
        scanDisable in interface io.smallrye.openapi.api.OpenApiConfig
      • scanPackages

        public Set<String> scanPackages()
        Specified by:
        scanPackages in interface io.smallrye.openapi.api.OpenApiConfig
      • scanClasses

        public Set<String> scanClasses()
        Specified by:
        scanClasses in interface io.smallrye.openapi.api.OpenApiConfig
      • scanExcludePackages

        public Set<String> scanExcludePackages()
        Specified by:
        scanExcludePackages in interface io.smallrye.openapi.api.OpenApiConfig
      • scanExcludeClasses

        public Set<String> scanExcludeClasses()
        Specified by:
        scanExcludeClasses in interface io.smallrye.openapi.api.OpenApiConfig
      • servers

        public Set<String> servers()
        Specified by:
        servers in interface io.smallrye.openapi.api.OpenApiConfig
      • pathServers

        public Set<String> pathServers​(String path)
        Specified by:
        pathServers in interface io.smallrye.openapi.api.OpenApiConfig
      • operationServers

        public Set<String> operationServers​(String operationID)
        Specified by:
        operationServers in interface io.smallrye.openapi.api.OpenApiConfig
      • scanDependenciesDisable

        public boolean scanDependenciesDisable()
        Specified by:
        scanDependenciesDisable in interface io.smallrye.openapi.api.OpenApiConfig
      • scanDependenciesJars

        public Set<String> scanDependenciesJars()
        Specified by:
        scanDependenciesJars in interface io.smallrye.openapi.api.OpenApiConfig