FAQ

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

    asyncapi-info-contact


    Formats: Severity:

    asyncapi-info-contact requires the root info object to contain contact details.

    Why did this violation appear?

    The info object does not include contact.

    Bad example

    asyncapi: 3.1.0
    info:
      title: User events
      version: 1.0.0
    

    Good example

    asyncapi: 3.1.0
    info:
      title: User events
      version: 1.0.0
      description: Events emitted by the user lifecycle service.
      contact:
        name: API Platform
        url: https://example.com/support
        email: api@example.com
      license:
        name: MIT
        url: https://opensource.org/licenses/MIT
    

    How do I fix this violation?

    Add a contact object that points users to the team responsible for the event contract.