Carapacik / swagger_parser

Dart package that takes an OpenApi definition file and generates REST clients based on retrofit and data classes for your project.
https://pub.dev/packages/swagger_parser
MIT License
90 stars 38 forks source link

Provide an option to allow user get `HttpResponse`. #115

Closed theoolee closed 10 months ago

theoolee commented 10 months ago

Currently, the return type of the request method is Future, which is insufficient for some scenarios. I'm going to add a config option named with_http_response to allow the request method generated with Future<HttpResponse>.