FAQ

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

    asyncApiChannelParameters


    asyncApiChannelParameters is an AsyncAPI-specific function for vacuum rules.

    What does it validate?

    Compares {parameter} placeholders in channel addresses with declared channel parameters.

    Options

    No function options are required.

    Result behavior

    Missing placeholders are reported on the channel; unused declared parameters are reported on the parameter key.

    Example ruleset configuration

    rules:
      example-asyncapichannelparameters:
        description: Validate channel address parameters.
        severity: error
        formats: [asyncapi3]
        given: $
        then:
          function: asyncApiChannelParameters
    

    Used by


    View Function Source