Class OpenApiConfiguration


  • public class OpenApiConfiguration
    extends Object
    • Constructor Detail

      • OpenApiConfiguration

        public OpenApiConfiguration​(ClassLoader applicationClassLoader)
    • Method Detail

      • getModelReader

        public Class<? extends org.eclipse.microprofile.openapi.OASModelReader> getModelReader()
        Returns:
        the OASModelReader class provided by the application.
      • getFilter

        public Class<? extends org.eclipse.microprofile.openapi.OASFilter> getFilter()
        Returns:
        the OASFilter class provided by the application.
      • getScanDisable

        public boolean getScanDisable()
        Returns:
        whether to disable application scanning.
      • getScanLib

        public boolean getScanLib()
        Returns:
        whether to disable packaged libraries scanning.
      • getScanPackages

        public List<String> getScanPackages()
        Returns:
        a whitelist of packages to scan in the application.
      • getScanClasses

        public List<String> getScanClasses()
        Returns:
        a whitelist of classes to scan in the application.
      • getExcludePackages

        public List<String> getExcludePackages()
        Returns:
        a blacklist of packages to not scan in the application.
      • getExcludeClasses

        public List<String> getExcludeClasses()
        Returns:
        a blacklist of classes to not scan in the application.
      • getServers

        public List<String> getServers()
        Returns:
        a list of servers to add to the root document.
      • getPathServerMap

        public Map<String,​Set<String>> getPathServerMap()
        Returns:
        a map of paths to the servers it contains.
      • getOperationServerMap

        public Map<String,​Set<String>> getOperationServerMap()
        Returns:
        a map of operation ids to the servers it contains.
      • getSchemaMap

        public Map<String,​SchemaImpl> getSchemaMap()
        Returns:
        a map of schema objects