You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request. Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
Describe the bug.
If you have a message with oneOf, the template will show:
'Adheres to undefined'
'Or to undefined'
The issue is not present when I render the docs with Studio. Is Studio using an older template?
My asynapi cli version:
@asyncapi/cli/2.3.12 win32-x64 node-v20.17.0
├@asyncapi/avro-schema-parser/3.0.24
├@asyncapi/bundler/0.6.3
├@asyncapi/converter/1.6.0
├@asyncapi/diff/0.4.1
├@asyncapi/generator/1.17.25
├@asyncapi/modelina/3.7.0
├@asyncapi/modelina-cli/4.0.0-next.61
├@asyncapi/openapi-schema-parser/3.0.24
├@asyncapi/optimizer/1.0.3
├@asyncapi/parser/3.3.0
├@asyncapi/protobuf-schema-parser/3.2.14
├@asyncapi/raml-dt-schema-parser/4.0.24
└@asyncapi/studio/0.20.2
The command I used:
asyncapi generate fromTemplate ./test-asyncapi-docs.yml @asyncapi/[email protected] -o test --force-write
Expected behavior
Should render:
'Adheres to'
'Or to '
Screenshots
Studio:
Local:
How to Reproduce
🥦 Browser
Mozilla Firefox
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue ?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered: