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

Generate REST clients and data classes from swagger json file

example/README.md

  • Put your json 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! #

85
likes
0
pub points
80%
popularity

Publisher

verified publishercarapacik.dev

Generate REST clients and data classes from swagger json file

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

args, collection, path, yaml

More

Packages that depend on swagger_parser