Open codingnuclei opened 2 days ago
Given
[ '@eventcatalog/generator-asyncapi', { domain: { id: 'userManagement', name: 'User Management', version: '1.0.0', }, services: [ { path: path.join( __dirname, '../../services/user-management/asyncapi-files', 'user-service.json', ), }, ], }, ] ]
Where user-service.json is a valid asyncAPI JSON schema
user-service.json
The schema added to the service in the Catalog is YML in a .json file
.json
The generator should maintain the format given
no :(
Looks like this line is the culprit: https://github.com/event-catalog/generator-asyncapi/compare/eeb5d45..main#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80R258
No response
Apologies - I had just not clicked the button to post 😆
I tried this:
Given
Where
user-service.json
is a valid asyncAPI JSON schemaThis happened:
The schema added to the service in the Catalog is YML in a
.json
fileI expected this:
The generator should maintain the format given
Is there a workaround?
no :(
Anything else?
Looks like this line is the culprit: https://github.com/event-catalog/generator-asyncapi/compare/eeb5d45..main#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80R258
EventCatalog Version
No response
Node.js Version
No response
Platform(s)
No response
Community Notes