/swagger_parser

Dart package that takes an OpenApi definition file and generates REST clients based on retrofit and data classes for your project.

Primary LanguageDartMIT LicenseMIT

Swagger Parser

pub version pub likes dart style Star on Github Last commit on Github Tests

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 and YAML format
  • Generation by definition link or from file
  • Support for multiple definitions
  • Supports Dart and Kotlin

We also have a web interface so you can try out swagger parser: https://carapacik.github.io/swagger_parser