swagger_fixtures 0.2.0 copy "swagger_fixtures: ^0.2.0" to clipboard
swagger_fixtures: ^0.2.0 copied to clipboard

Test fixtures from a Swagger/OpenAPI spec — one JSON file per documented response, built from its examples, plus a Dart file that names and parses them.

0.2.0 #

  • specs in YAML as well as JSON: swagger_url takes either, the format is detected from the content
  • CI: format, analyze, test and a publish dry run on every push and pull request, and again before publishing a tag

0.1.0 #

  • first release: dart run swagger_fixtures turns every documented response of one or more Swagger 2.0 / OpenAPI 3 specs into a JSON file and a Fixtures class of Fixture handles
  • swagger_url, json_output_dir and dart_output_file in the swagger_fixtures: section of pubspec.yaml
1
likes
160
points
--
downloads

Documentation

API reference

Publisher

verified publisherbangertstudio.kz

Test fixtures from a Swagger/OpenAPI spec — one JSON file per documented response, built from its examples, plus a Dart file that names and parses them.

Repository (GitHub)
View/report issues

Topics

#testing #openapi #swagger #fixtures #codegen

License

BSD-3-Clause (license)

Dependencies

yaml

More

Packages that depend on swagger_fixtures