Class AsyncApiRuntimeConfig


  • @ConfigRoot(name="asyncapi.annotation.scanner",
                phase=BUILD_AND_RUN_TIME_FIXED)
    public class AsyncApiRuntimeConfig
    extends Object
    • Field Detail

      • enabled

        @ConfigItem(defaultValue="true")
        public boolean enabled
        Enable AysncApi-Scanning
      • webcomponentversion

        @ConfigItem(defaultValue="1.0.0-next.48")
        public String webcomponentversion
        Version of the WebComponent to be used in html-view to be found at [HOST]/asyncapi.html
      • version

        @ConfigItem(defaultValue="2.6.0")
        public String version
        AsyncApi specification version
      • defaultContentType

        @ConfigItem(defaultValue="application/json")
        public String defaultContentType
        Default ContentType
      • servers

        @ConfigDocMapKey("server")
        @ConfigItem(name="server")
        public Map<String,​Server> servers
        see https://www.asyncapi.com/docs/reference/specification/v2.6.0#serversObject
      • channels

        @ConfigDocMapKey("channel")
        @ConfigItem(name="channel")
        public Map<String,​Channel> channels
        see https://www.asyncapi.com/docs/reference/specification/v2.6.0#channelItemObject
      • infoTitle

        @ConfigItem(name="info.title",
                    defaultValue="AsyncApi")
        public Optional<String> infoTitle
        Title
      • infoVersion

        @ConfigItem(name="info.version",
                    defaultValue="1.0.0")
        public String infoVersion
        Project-version
      • infoDescription

        @ConfigItem(name="info.description")
        public Optional<String> infoDescription
        Project-description
      • infoContactName

        @ConfigItem(name="info.contact.name")
        public Optional<String> infoContactName
        Contact-Name
      • infoContactEmail

        @ConfigItem(name="info.contact.email",
                    defaultValue="you@mail.org")
        public Optional<String> infoContactEmail
        Contact-Email
      • infoContactUrl

        @ConfigItem(name="info.contact.url")
        public Optional<String> infoContactUrl
        Contact-URL
      • infoLicensName

        @ConfigItem(name="info.license.name",
                    defaultValue="Commercial")
        public Optional<String> infoLicensName
        License-Name
      • infoLicenseUrl

        @ConfigItem(name="info.license.url")
        public Optional<String> infoLicenseUrl
        License-URL
    • Constructor Detail

      • AsyncApiRuntimeConfig

        public AsyncApiRuntimeConfig()