Skip to content

Generate and validate asyncapi to keep it up to date with current state #684

Closed as not planned

Description

@DiamondJoseph

Changes in event-model's structure due to adopting the copier template made our asyncapi invalid. Generating the asyncapi.yaml should be done as part of the build, similar to the opanapi.yaml, so that we catch any breaking changes and can ensure that the api that we publish is actually the one that we support: there have been other changes in event-model main that have not been reflected in the version of event-model that is valid for the deployment.

Activity

  1. added
    tests
    c: cli
    c: messaging
    on Oct 24, 2024
  2. callumforrester commented on Oct 25, 2024

    @callumforrester
    Contributor

    This was originally not done because there was no library that did it. We should also consider if we still want to make use of asyncapi as part of DiamondLightSource/messagebus#20

  3. DiamondJoseph commented on Oct 25, 2024

    @DiamondJoseph
    ContributorAuthor

    We'd still need to register our schema, and our schema uses the event-model schema.
    After discussion with @coretl and @evalott100, if we point to the event-model schema we have as part of the installed version of event-model, that will match what we are emitting: and prevents us requiring github to be able to construct it.

  4. abbiemery commented on Feb 25, 2026

    @abbiemery
    Contributor

    We have openapi schema checking, are we still using asyncapi anywhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: clic: messagingtests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions