Skip to content

Create components in a separate file and reuse them in specification files #22

Description

@pureions

In asyncapi you can reference components, like messages from another file or web url. This would for example allow to create separate specification files for a let's say a ChatClient and ChatServer which share the same message types by referencing them from the components file. The operations could be different (send and receive parts). Maybe a separate derive like AsyncApiComponents to create the shared components file from rust code would be useful.

Link to the feature:
https://www.asyncapi.com/docs/concepts/asyncapi-document/reusable-parts#another-local-file
https://www.asyncapi.com/docs/concepts/asyncapi-document/reusable-parts#external-url

Activity

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions