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.
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