Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined description when using OneOf, AllOf or AnyOf #1013

Open
jaymorelli96 opened this issue Jan 22, 2024 · 2 comments
Open

Undefined description when using OneOf, AllOf or AnyOf #1013

jaymorelli96 opened this issue Jan 22, 2024 · 2 comments
Labels
❔ Question A question about the spec or processes

Comments

@jaymorelli96
Copy link

I am not sure if this is the intended behaviour or not, but whenever using the OneOf, AllOf or AnyOf when rendering the document it is represented as undefined.

image

This image is from the official template WebSocket

Is there a way to fix this? It is very confusing to read the document when there are complex objects.

@jaymorelli96 jaymorelli96 added the ❔ Question A question about the spec or processes label Jan 22, 2024
Copy link

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.

@SebastianKotstein
Copy link

Add a title property to the referenced schema. Then, this title will be displayed instead of undefined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❔ Question A question about the spec or processes
Projects
None yet
Development

No branches or pull requests

2 participants