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

respect the 'by_alias' route config also in generated docs for 'json body' data #1193

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kristian-lindin
Copy link

if you have an alias_generator to_camel, the current behavior does not respect the by_alias config from the router when it comes to request body data and how the api documentation then is generated for that request body. Today the code that generates the request body docs, defaults to True without ever passing the operation.by_alias into the function.
This PR should correct that.

@vitalik
Copy link
Owner

vitalik commented Jun 26, 2024

Hi @kristian-lindin

Thank you for PR - could you also make a test case that covers this ?

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