Skip to content

Fix generated openapi.json parameter names #600

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

Merged
merged 2 commits into from
Apr 29, 2025

Conversation

rbygrave
Copy link
Contributor

@rbygrave rbygrave commented Apr 29, 2025

@QueryParam String lastName               // -> "lastName" (no bug here, this was OK)
@QueryParam("q-2") String param2          // -> "q-2"
@Header String contentLength              // -> "Content-Length" (because headers automatic names are Init-Camel)
@Header("x-oh") String otherHeader        // -> "x-on"

@rbygrave rbygrave requested a review from SentryMan April 29, 2025 07:17
@rbygrave rbygrave self-assigned this Apr 29, 2025
@rbygrave
Copy link
Contributor Author

Ok, I'll merge this in before a PR review because I'm wanting another RC release to test out. If you are not liking this change @SentryMan we can adjust again.

@rbygrave rbygrave merged commit c25de39 into master Apr 29, 2025
6 checks passed
@rbygrave rbygrave deleted the feature/fix-openapi-json-parameter-names branch April 29, 2025 12:17
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.

1 participant