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

Swagger docs show wrong content type #1394

Closed
kennytv opened this issue Aug 1, 2024 · 0 comments
Closed

Swagger docs show wrong content type #1394

kennytv opened this issue Aug 1, 2024 · 0 comments
Labels
1. bug Something isn't working 1. documentation Improvements or additions to documentation

Comments

@kennytv
Copy link
Member

kennytv commented Aug 1, 2024

https://hangar.papermc.io/api-docs#get-/api/v1/projects/-slug-/latestrelease should be plain text, not json
@GetMapping(value = "/projects/{slug}/latestrelease", produces = MediaType.TEXT_PLAIN_VALUE)

@kennytv kennytv added 1. bug Something isn't working 1. documentation Improvements or additions to documentation labels Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. bug Something isn't working 1. documentation Improvements or additions to documentation
Projects
Status: Done
Development

No branches or pull requests

1 participant