cyprieng / swagger-parser

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

Example from properties #22

Closed jfinkhaeuser closed 8 years ago

jfinkhaeuser commented 8 years ago

There is no requirement in swagger for using definitions. Instead, it's perfectly possible to write response properties directly into the response objects.

Therefore swagger-parser should be able to generate examples from such objects. That's what this changeset is about.

Note: this PR includes #20 and #21

jfinkhaeuser commented 8 years ago

@beanqueen

cyprieng commented 8 years ago

Just fix the conflict and I merge. Thanks for the good work !

jfinkhaeuser commented 8 years ago

You're welcome :)