Yelp / swagger_spec_validator

Other
104 stars 71 forks source link

Regression for Swagger 1.2 schemas in release 2.0.1 #43

Closed analogue closed 8 years ago

analogue commented 8 years ago

Swagger 1.2 and 2.0 schemas both call the same common.validate_json(..) method . In release 2.0.1, this method was updated to support recursive $refs and no longer supports unqualified refererences to models. This change should only apply to Swagger 2.0 schemas. Passing in a 1.2 schema with unqualified $refs is broken.

analogue commented 8 years ago

Fixed in 2.0.2