Skip to content

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

asyncAPI compile guide update #1840

wants to merge 2 commits into from

Conversation

jeevitha011
Copy link

No description provided.

@jeevitha011 jeevitha011 requested a review from RamIndia May 13, 2025 11:11
@jeevitha011 jeevitha011 changed the title asyncapi compile guide update asyncAPI compile guide update May 13, 2025
Copy link

@RamIndia RamIndia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added comments

## 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.

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

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 ?

Copy link
Author

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.

@jeevitha011 jeevitha011 requested a review from RamIndia May 15, 2025 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants