temando/open-api-renderer

Validate definition before attempting to parse

Closed this issue · 1 comments

There is currently no validation of the document to ensure that it is actually an Open API v3 doc before we attempt to transform it to the "UI Ready Schema".

Instead of writing this validation ourselves, we should look to use something like swagger2openapi, which offers validation for v3.0.0-RC1.

Keep in mind that we do support multiple types, which might break validation. Something to test at least.

Closed by #142