event-catalog / generator-asyncapi

AsyncAPI generator for EventCatalog
https://www.eventcatalog.dev/docs/development/integrations/async-api/intro
Other
9 stars 4 forks source link

Generate with Async API v2.x the subscribe messages are not generated. #96

Closed hartmanjan1970 closed 4 days ago

hartmanjan1970 commented 1 week ago

I tried this:

Generating from AsyncApi contracts with version 2.x fora a service in a domain

This happened:

The subscribe messages are not generated

I expected this:

I expected the subscribed messages to be generated for the AsyncApi 2.x. If I use a AsyncApi version 3.0.0 the receive message are then correctly generated

Is there a workaround?

no

Anything else?

Bug is located in: https://github.com/event-catalog/generator-asyncapi/blob/main/src/index.ts#L207

EventCatalog Version

@eventcatalog/generator-asyncapi@2.5.2

Node.js Version

v22.11.0

Platform(s)

Linux

Community Notes

boyney123 commented 4 days ago

Thanks @hartmanjan1970 , we have a PR for this being merged.

If you want to try again with the new version, let us know if this fixed it https://github.com/event-catalog/generator-asyncapi/pull/98.

Will close the issue, please re-open if you still have an issue.