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

Use deterministic ordering for springdoc #1436

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

JulianVennen
Copy link
Contributor

Many parts of the API docs (e.g. api responses) are ordered seemingly randomly every time a change occurs.
That results in changes to generated API clients, which reuse the existing order from the API spec.

This PR configures springdoc to order these keys alphabetically to prevent that.

@MiniDigger
Copy link
Member

this also makes the api docs view look way nicer, why isnt this the default?...

@MiniDigger MiniDigger merged commit 18a0e40 into HangarMC:staging Jan 9, 2025
1 check passed
@JulianVennen JulianVennen deleted the deterministic-ordering branch January 9, 2025 21:13
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