Phoebe Yang
Phoebe Yang
@macisamuele Yes, this along with #21 are future improvements I want to get to at some point. Seems like it would require implementing new walkers for parsing the yaml spec....
I've been working on reformatting the message. For example MIS_E001 would now print out: > [MIS-E002] Changed type: put /pets/{id}: `age` changed from `integer` to `number` (documentation: https://swagger-spec-compatibility.readthedocs.io/en/latest/rules/MIS-E002.html) instead of:...
@macisamuele I've already implemented this. However, fixing all the tests is a huge headache because they all expect to see an error message with reference like `'#/paths//pet/{id}/put/parameters/1/schema/properties/{}'.format(reference)`. It's hard to...
@macisamuele I created a PR and you can see the file changes here (https://github.com/Yelp/swagger-spec-compatibility/pull/15/files). Though I dont have much experience with unit testing in python, I think mocking `validation_message` would...