Yelp / swagger_spec_validator

Other
104 stars 71 forks source link

Validator is not checking is "items" key is present for "array" data types #84

Closed AlstonLin closed 6 years ago

AlstonLin commented 6 years ago

For example this will pass the validator

...
foo:
    type: array
...

However, this should fail according to the swagger specification as items is a required key for any array types

bplotnick commented 6 years ago

@macisamuele I think this was duped by #94 and fixed in #95, right?

macisamuele commented 6 years ago

@bplotnick you are correct. Closing this as duplicate of #94