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

Make all parameters snake_case regardless of what the OpenAPI schema says #11

Open
phalt opened this issue Oct 2, 2023 · 0 comments
Open

Comments

@phalt
Copy link
Owner

phalt commented Oct 2, 2023

For headers, we reformat the keys from hello_header to hello-header. However, all other parameters treat the open api schema as the source of truth, which means you can get all sorts of whacky formatting on them.

If we want to keep them pythonic, we could underscore case everything and just handle formatting in the schema itself.

If this gets enough 👍 I can make that change.

@phalt phalt changed the title Make all parameters camel_case regardless of what the OpenAPI schema says Make all parameters snake_case regardless of what the OpenAPI schema says Oct 3, 2023
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

No branches or pull requests

1 participant