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

Response Schema Not Displayed #1452

Open
itizarsa opened this issue Apr 17, 2024 · 2 comments
Open

Response Schema Not Displayed #1452

itizarsa opened this issue Apr 17, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@itizarsa
Copy link

What happens?

When the OpenAPI JSON have content media type as */* the schema isn't shown on the response

SS

What did you expect to happen?

When the OpenAPI JSON have content media type as */* the schema should be shown

SS

How can we reproduce the issue?

Change the paths."/api/widgets/{id}".get.responses.200.content to */*

Swagger/OpenAPI Example

https://sandbox.scalar.com/e/Pdtys

@itizarsa itizarsa added the bug Something isn't working label Apr 17, 2024
@hanspagel
Copy link
Member

That’s great feedback, we don't deal with other media types/wildcards well/at all. I’m interested, are you able to share your full OpenAPI specification as well? The trimmed down example is amazing for reproduction, but full examples are fun, too. :)

@itizarsa
Copy link
Author

I have just removed multiple paths, apart from that the schema stays the same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants