Dart package that takes an OpenApi definition file and generates REST clients based on retrofit and data classes for your project.
87
stars
33
forks
source link
Positional, not named parameter for body (requestBody) #232
Open
StarProxima opened 1 month ago
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 👎