Carapacik / swagger_parser

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

Home Page:https://pub.dev/packages/swagger_parser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:Dart 99.8%Language:HTML 0.2%