postmanlabs / swagger2-to-postman

Converter for swagger 2.0 JSON to Postman Collection
Apache License 2.0
120 stars 56 forks source link

Bad parsing of `paths.parameters` fields #17

Open martinlatrille opened 8 years ago

martinlatrille commented 8 years ago

When trying to import a swagger file into postman, you guys use the description field of endpoint's parameters as the body; it's not, it's just a literal description field to describe the parameter.

Instead, you should use the schema field, which references a Definition somewhere in the doc.

(Hoping this lib is the one used in the Postman app to convert Swagger2 files to Postman collections.)