swagger_parser
swagger_parser copied to clipboard
Positional, not named parameter for body (requestBody)
Use case
This is how the method with body now (named parameter) is generated:
This is how it can be generated (positional parameter):
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 👎