-
Notifications
You must be signed in to change notification settings - Fork 160
Open
Labels
enhancementNew feature or requestNew feature or request
Description
(This is an extension of #642)
Is your feature request related to a problem? Please describe.
Chopper allows customizing some aspects of generated request handler, e.g., for GET request, the default syntax for nested query string is ?foo.bar.id=3, but we can change it to ?foo[bar][id]=3 by setting the argument listFormat:
@GET(path: '/api/user', listFormat: ListFormat.brackets)However, there is no way to change those arguments in the *.swagger.dart file, other than manual editing, which is a cumbersome 3-step process (delete *.swagger.chopper.dart, edit *.swagger.dart, run build_runner)
Describe the solution you'd like
Options to set custom values for Chopper request handlers.
Swagger specification link
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request