event-catalog / event-catalog/generators

async api generate event documentation for both provider and client

Open
#264 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15
Forks
16
Avg merge
25m
Merged PRs (30d)
4

Description

### I tried this:

See [https://github.com/cjjohansen/eventcatalog-examples/tree/main/provider-role-example](https://github.com/cjjohansen/eventcatalog-examples/tree/main/provider-role-example)

For a prepared example of the problem described in the readme.

even if we set x-eventcatalog-role:provider and client we ge multiple copies of event documentation and schema files both in provider and client service. Client should only reference documentation in provider service not duplicate it.

### This happened:

I got duplicated copies of event documentation and schema files

### I expected this:

I Expected a single copy under the provider/producer service

### Is there a workaround?

one could accept the duplication, but it feels unnatural. What if manually add documentation what will happen?

### Anything else?

See [https://github.com/cjjohansen/eventcatalog-examples/tree/main/provider-role-example](https://github.com/cjjohansen/eventcatalog-examples/tree/main/provider-role-example)
"@eventcatalog/core": "^2.63.0",
"@eventcatalog/generator-asyncapi": "^5.0.4",

### EventCatalog Version

@eventcatalog/core": "^2.63.0"

### Node.js Version

v24.5.0

### Platform(s)

_No response_

### Community Notes

* Please vote by adding a 👍 reaction to the issue to help us prioritize.
* If you are interested to work on this issue, please leave a comment.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.