/swagger_parser

Dart package that generates REST clients and data classes from OpenApi definition file for Dart and Kotlin

Primary LanguageDartMIT LicenseMIT

Swagger Parser

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

Dart package that generates REST clients and data classes from OpenApi definition file

Features

  • Supports OpenApi v2, v3.0 and v3.1
  • Support JSON and YAML format
  • Generate REST client files based on Retrofit
  • Generate data classes (also on freezed)
  • Support for multiple languages (Dart, Kotlin)
  • Web interface at https://carapacik.github.io/swagger_parser