I tried this:
When i have a service configured to be generated with OpenAPI generator which has no path to an openapi contract the service is not generated.
I have a service which only consumes OpenAPI and does not provide a Rest interface is not generated.
[
'@eventcatalog/generator-openapi',
{
domain: {id: 'MyDomain', name: 'My Domain', version: '0.0.0'},
saveParsedSpecFile: true,
parseChannels: true,
debug: true,
services: [
{
id: 'my-only-consuming-openapi-service',
consumers: [
{id: 'other-providing-service'}
]
},
}
]
This happened:
The service is not generated
I expected this:
I would expect the service always to be generated, even if it does not proivide and does not consume an openapi contract.
Is there a workaround?
There's no workaroud
Anything else?
No response
EventCatalog Version
"@eventcatalog/core": "4.2.3", "@eventcatalog/generator-openapi": "7.12.12",
Node.js Version
v22.22.0
Platform(s)
Linux
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.
I tried this:
When i have a service configured to be generated with OpenAPI generator which has no path to an openapi contract the service is not generated.
I have a service which only consumes OpenAPI and does not provide a Rest interface is not generated.
This happened:
The service is not generated
I expected this:
I would expect the service always to be generated, even if it does not proivide and does not consume an openapi contract.
Is there a workaround?
There's no workaroud
Anything else?
No response
EventCatalog Version
Node.js Version
v22.22.0
Platform(s)
Linux
Community Notes