joolfe / postman-to-openapi

🛸 Convert postman collection to OpenAPI
MIT License
577 stars 99 forks source link

When example status or description is `undefined`, the returned OAS is not valid #263

Open garciasdos opened 10 months ago

garciasdos commented 10 months ago

As mentioned here #255, when a collection has no valid status code in an example, the returned OAS is not valid. Here is an example:

image

The suggestion for this issue is to apply the readme.io suggested solution, so that the resultant OpenAPI definition is valid