cyprieng / swagger-parser

Give useful informations about your swagger files
MIT License
62 stars 59 forks source link

Add additional properties handling #26

Closed beanqueen closed 7 years ago

beanqueen commented 7 years ago

info on additional properties https://github.com/OAI/OpenAPI-Specification/issues/668 additionalProperties Schema Object For an object, if this is given, in addition to the properties defined in properties all other property names are allowed. Their values must each match the schema object given here. If this is not given, no other properties than those defined in properties are allowed.

i also added the x-example (doesn't seem to hurt)

cyprieng commented 7 years ago

I fixed the tests on master. So just update your branch and it should be good.