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

MediaType.text.plain broken reference in swagger #3274

Open
swoogles opened this issue Jan 17, 2025 · 0 comments
Open

MediaType.text.plain broken reference in swagger #3274

swoogles opened this issue Jan 17, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@swoogles
Copy link
Contributor

swoogles commented Jan 17, 2025

Describe the bug
SwaggerUI shows errors when looking at endpoints with MediaType.text.plain

This might be another manifestation of #3260
But I do see just a plain string result in the input box, and I see text/plain in the mediatype.
So that particular behavior is different for me. It seems like that other issue might already be resolved?

To Reproduce
Steps to reproduce the behaviour:

  1. Run the application here: https://github.com/swoogles/MediaTypeTextPlainReproducer
  2. Go to: http://localhost:8080/docs
  3. Click on either route to see the errors pop up, and the examples fail to load

Expected behaviour
No errors, and we should see the examples.

Screenshots

Image

Desktop (please complete the following information):

  • OS: Macos
  • Browser Zen/firefox
@swoogles swoogles added the bug Something isn't working label Jan 17, 2025
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

1 participant