FAQ

  • GitHub GitHub Repo stars
  • Discord Discord Server
  • ✨ New! Try the OpenAPI Doctor ✨ The OpenAPI Doctor

    asyncApiChannelServers


    asyncApiChannelServers is an AsyncAPI-specific function for vacuum rules.

    What does it validate?

    Checks that channel server entries reference existing root servers.

    Options

    No function options are required.

    Result behavior

    Invalid server references are reported on the server reference item.

    Example ruleset configuration

    rules:
      example-asyncapichannelservers:
        description: Validate channel server references.
        severity: error
        formats: [asyncapi3]
        given: $
        then:
          function: asyncApiChannelServers
    

    Used by


    View Function Source