Swagger Parser is a Dart package that takes an OpenApi definition file and generates REST clients based on retrofit and data classes for your project.
- Supports OpenApi v2, v3.0 and v3.1
- Can generate files from
JSON
andYAML
format - Generation by definition link or from file
- Support for multiple definitions
- Supports Dart and Kotlin
- Serializers supported for dart:
- Serializers supported for kotlin:
We also have a web interface so you can try out swagger parser: https://carapacik.github.io/swagger_parser