RobWin / assertj-swagger

A Swagger assertj test library which compares a contract-first Swagger YAML/JSON file with a code-first Swagger JSON
Apache License 2.0
171 stars 44 forks source link

Implemented configuration setting: 'pathsPrependExpected'; info and version comparison #6

Closed benfowler closed 8 years ago

benfowler commented 8 years ago

Added configuration setting to permit specifying a prefix for paths in design-first schema. Needed this to make it easier to compare against Springfox-generated schemas.

Added optional checks to enforce version number parity. Also, it is now possible to turn on strict comparison of the entire Info block.

Added tests.

RobWin commented 8 years ago

Very nice. Thx