westfieldlabs / apivore

Tests your rails API against its Swagger description of end-points, models, and query parameters.
Apache License 2.0
213 stars 66 forks source link

Allow single service changes 1425962436 #27

Closed mastfish closed 9 years ago

mastfish commented 9 years ago

Usage:

apivore_check_consistency_with_swagger_at "api.westfield.io", "search"

If the only conflicts are in definitions that come from search service (in this case), then the tests will pass. If the conflicts involve more than one service, or a service that isn't "search", then the tests will fail, as they should.

This should be both forward and backward compatible with x-services in swagger.json, and the previous usage, apivore_check_consistency_with_swagger_at "api.westfield.io".

gingermusketeer commented 9 years ago

LGTM