Skip to content

Conversation

@AarishMansur
Copy link

@AarishMansur AarishMansur commented Dec 28, 2025

Description

Documents a new filterByAddress(address: string) helper on the Channels collection.

Currently, retrieving channels by address requires manually filtering:
parsedAsyncAPI.channels().all().filter(...), which is verbose and less readable.
This helper provides a clearer and more discoverable API.

Notes

  • The method is documented as returning a collection (Channels), not a single channel,
    since multiple channels may share the same address.
  • This PR only updates the API documentation.

Related

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

@AarishMansur AarishMansur marked this pull request as ready for review December 28, 2025 08:58
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.

1 participant