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

Downgrade springdoc to 2.7.0 #1440

Closed

Conversation

JulianVennen
Copy link
Contributor

Springdoc 2.8.1 does not parse @Schema annotations as it intended: springdoc/springdoc-openapi#2851
This can be seen in the /pages/main/{project} endpoint where the return type for the 200 response has the @Schema(type = "string") annotation, but that type does not show up in the resulting OpenAPI spec.

The issue has apparently been solved in 2.8.3, but when I try to run hangar locally with this version it crashes: https://pastes.dev/mfOZD1TuO6

@MiniDigger
Copy link
Member

The issue has apparently been solved in 2.8.3, but when I try to run hangar locally with this version it crashes

that is some weird IJ issue, I had it when updating to .1 too, running reload maven projects instead of sync maven projects fixes it 🤷

confirmed fixed with .3
image

MiniDigger added a commit that referenced this pull request Jan 14, 2025
@MiniDigger
Copy link
Member

thanks for analyzing this

@MiniDigger MiniDigger closed this Jan 14, 2025
@JulianVennen JulianVennen deleted the downgrade-springdoc branch January 14, 2025 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants