-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
What would you like to be added?
In the current version 3.0.6 the code-first approach for generating documents using annotations on c# classes fills out the following sections of the asyncapi v3 specification:
- channels
- operations
That results in the following behavior: Message schemas are directly embedded into the channels.messages section instead of putting them into the components.messages section and referencing them from the channels.messages.
Therefore it would be great if the code-first generator would support a similar functionality as when defining the documents with the FluentBuilder. There it is possible use either "WithMessage" to embed directly or to use "WithMessageComponent" to add the message under components.
Proposal(s):
Add the same functionality as already used inside of the FluentBuilder into the Generator.
Alternative(s):
No response
Additional info:
No response
Community Notes
- Please vote by adding a π reaction to the feature to help us prioritize.
- If you are interested to work on this feature, please leave a comment.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels