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

Reduced open api file must be sorted #2599

Closed
de-jcup opened this issue Oct 13, 2023 · 0 comments · Fixed by #2733
Closed

Reduced open api file must be sorted #2599

de-jcup opened this issue Oct 13, 2023 · 0 comments · Fixed by #2733
Assignees
Labels
build enhancement New feature or request
Milestone

Comments

@de-jcup
Copy link
Member

de-jcup commented Oct 13, 2023

Situation

Currently the reduced open api file is often marked as changed in git when a developer starts a full build. The problem here is the unspecific ordering of the methods /json fields.

This is also problematic on a release build - because it was marked as dirty which does block releases!

Wanted

When no additional REST api is defined, the build must produce always the same reduced open api file, no matter how often or on which machine the build is triggered.

Solution

Sort the content of the open api file before writing to disk at build time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant