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

Positional, not named parameter for body (requestBody) #232

Open
StarProxima opened this issue May 9, 2024 · 0 comments
Open

Positional, not named parameter for body (requestBody) #232

StarProxima opened this issue May 9, 2024 · 0 comments
Labels
future plans Maybe it will be in the very distant future.

Comments

@StarProxima
Copy link
Collaborator

Use case

This is how the method with body now (named parameter) is generated:

image

This is how it can be generated (positional parameter):

image

Proposal

We can change the generation to a positional parameter. This should be cleaner, since “body” doesn't really carry any semantics.

Vote in favor of this change with 👍 or 👎

@Carapacik Carapacik added the future plans Maybe it will be in the very distant future. label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
future plans Maybe it will be in the very distant future.
Projects
None yet
Development

No branches or pull requests

2 participants