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
88 stars 33 forks source link

Fix file name from schemeUrl #177

Closed cl3m closed 4 months ago

cl3m commented 4 months ago

Currently if the schemeUrl is like http://api.example.com/swagger/v1/swagger.json the saved file will become swaggerswagger.json.json. This PR fix the file name to swagger.json.