swagger_fixtures 0.2.0
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_urltakes 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_fixturesturns every documented response of one or more Swagger 2.0 / OpenAPI 3 specs into a JSON file and aFixturesclass ofFixturehandles swagger_url,json_output_diranddart_output_filein theswagger_fixtures:section ofpubspec.yaml