Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

fix([asycnapiu-v2]): sends/received messages are collected correctly #98

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

XaaXaaX
Copy link
Contributor

@XaaXaaX XaaXaaX commented Nov 22, 2024

Motivation

Considering the sends and received messages for asyncapi v2.x

The generator adds the sent and received message to a service this works well for Asyncapi v3 but for Asyncapi v2.x there is a lack of considering operation action == subscribe to let the message be considered as a received message.

The PR adds this possibility and adds the unit tests to validate a simple v2 spec

@XaaXaaX XaaXaaX requested a review from boyney123 as a code owner November 22, 2024 12:01
Copy link

changeset-bot bot commented Nov 22, 2024

🦋 Changeset detected

Latest commit: 40b90c9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@eventcatalog/generator-asyncapi Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@XaaXaaX XaaXaaX force-pushed the fix/asyncapiv2-pub-sub branch from e7c627b to 223d741 Compare November 22, 2024 12:18
@XaaXaaX XaaXaaX force-pushed the fix/asyncapiv2-pub-sub branch from 223d741 to a848cde Compare November 22, 2024 12:18
@boyney123
Copy link
Contributor

Thanks for picking this up @XaaXaaX 🙏

@boyney123
Copy link
Contributor

Fix for #96

@boyney123 boyney123 merged commit ed13ab4 into event-catalog:main Nov 25, 2024
4 checks passed
@hartmanjan1970
Copy link

Tested the fix, and works smoothly. 👍🏻

@XaaXaaX XaaXaaX deleted the fix/asyncapiv2-pub-sub branch November 25, 2024 20:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants