postmanlabs / openapi-to-postman

Plugin for converting OpenAPI 3.0 specs to the Postman Collection (v2) format
Apache License 2.0
930 stars 200 forks source link

Added support for validation of specifications in case of errors to report User input errors correctly. #717

Closed VShingala closed 1 year ago

VShingala commented 1 year ago

Overview

This PR adds support for better error reporting via categorising the reported errors. With this PR we'll now have 2 kinds of errors.

  1. Unhandled errors : these errors are errors that are due to module not handling valid definition correctly.
  2. User errors: these errors are due to user defined definition being invalid.