swagger_parser icon indicating copy to clipboard operation
swagger_parser copied to clipboard

Positional, not named parameter for body (requestBody)

Open StarProxima opened this issue 9 months ago • 0 comments

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 👎

StarProxima avatar May 09 '24 17:05 StarProxima