You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(openapi): improvements to circular ref detection, validation errors (#1189)
## 🧰 Changes
Over the past couple weeks I've been rewriting our OpenAPI parser,
`@readme/openapi-parser`, to support a new error leveling system -- you
can read up on details on this in
readmeio/oas#943. This PR pulls in the fruits of
my labor there and across `oas` and `oas-normalize`.
* [x] Upgrades `oas-normalize` to pull in our new parser engine and
error handling. The error leveling work is not being used within `rdme`
but for things like specification validation that our parser does `rdme`
will now be able to surface more than one of these errors at a time. 🎉
* Support for Node 18 has also been removed.
* [x] Upgrades `oas` and `@readme/oas-examples` to pull in the removal
of Node 18 support.
All told this overhaul is mostly a drop-in replacement with the
exception that instead of `SyntaxError` and `MissingPointerError`
exceptions being thrown from the parser for some invalid API definition
cases it will now always be a `ValidationError.`
0 commit comments