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

Order request body definitions by content type #686

Merged

Conversation

mikesep
Copy link
Contributor

@mikesep mikesep commented Jul 19, 2022

Since body.Content is a map, the order of iteration is unspecified. Using SortedContentKeys ensures consistency across repeated code generation.

@deepmap-marcinr deepmap-marcinr merged commit 5e0dd2a into deepmap:master Jul 25, 2022
@mikesep mikesep deleted the order-body-defs-by-content-type branch July 26, 2022 21:22
adrianpk pushed a commit to foorester/oapi-codegen that referenced this pull request Jan 16, 2024
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.

None yet

2 participants