swagger_parser 0.10.3 copy "swagger_parser: ^0.10.3" to clipboard
swagger_parser: ^0.10.3 copied to clipboard

Package that generates REST clients and data classes from OpenApi definition file

example/README.md

  • Put your schema file from swagger and add the path to it in pubspec.yaml #

  • Set the output directory in pubspec.yaml #

  • Run command below to generate rest clients and data classes: #

flutter pub run swagger_parser:generate
  • Run code generation with build_runner for json_seializable(freezed) and retrofit with command: #

flutter pub run build_runner build
  • Clients and models are generated! #

104
likes
150
points
14.5k
downloads

Publisher

verified publishercarapacik.dev

Weekly Downloads

Package that generates REST clients and data classes from OpenApi definition file

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

args, collection, path, yaml

More

Packages that depend on swagger_parser