shelf icon indicating copy to clipboard operation
shelf copied to clipboard

Making the response method consistent

Open wesolowski opened this issue 1 year ago • 1 comments

The methods ok, unauthorized, forbidden, notFound first have body as a parameter, and then the other parameters must be defined,

The methods internalServerError and badRequest are different, all parameters are in {}

What you might be able to do is to change the parameter definition of the anadere method?

  • Thanks for your contribution! Please replace this text with a description of what this PR is changing or adding and why, list any relevant issues, and review the contribution guidelines below.

  • [x] I’ve reviewed the contributor guide and applied the relevant portions to this PR.
Contribution guidelines:

Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.

wesolowski avatar Aug 17 '23 13:08 wesolowski