-
Notifications
You must be signed in to change notification settings - Fork 123
asyncAPI compile guide update #1840
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added comments
advanced/publishing-apis/asyncapi.md
Outdated
## Extensions { #extensions} | ||
|
||
`@AsyncAPI.Extensions` can be used to provide arbitrary extensions. | ||
If a specific annotation exists for a given extension, and the same extension is also defined using @AsyncAPI.Extensions, the specific annotation will take precedence. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you modify it a little?
|
||
Since the AsyncAPI specification requires all extensions to be prefixed with `x-`, the compiler will automatically add this prefix. Therefore, do not include the `x-` prefix when specifying extensions in `@AsyncAPI.Extensions`. | ||
|
||
### Behavior with `--merged` flag |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DOnt we create a single file for all the events ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do create a single file with all the events, but the service level extensions are ignored.
No description provided.