cyprieng / swagger-parser

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

Object definitions #49

Closed philippeluickx closed 7 years ago

philippeluickx commented 7 years ago

I manage to fetch Object Examples easily through definitions_example collection. Is it possible to get the plain definitions instead as well?

philippeluickx commented 7 years ago

Found it, this lib is decently designed (and thanks for the comment). parser.specifications['definitions'] hold all the object definitions.