Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update @readme/openapi-parser (#1004)
| [![PR App][icn]][pr] | 🚥 Resolves RM-9343 | | :------------------: | :------------------: | ## 🧰 Changes This bumps `@readme/openapi-parser` to include these changes: - readmeio/openapi-parser#259 - readmeio/openapi-parser#264 These fix an issue where the existence of the `description` property under `server.variables` would fail validation. ## 💁 Customer Impact Customers should be able to upload valid OAS 3.1 files again without error'ing. ## 🧬 QA & Testing The following OAS file should not hit any validation errors: <details> <summary>OAS 3.1 file</summary> ```json { "openapi": "3.1.0", "info": { "version": "1.0", "title": "Invalid API" }, "servers": [ { "url": "https://{subdomain}.io", "variables": { "subdomain": { "default": "petstore", "description": "Subdomain description" } } } ], "paths": { "/anything": { "get": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "array", "items": { "$ref": "#/components/schemas/User-Information" } } } } } } } } }, "components": { "schemas": { "User-Information": { "type": "object", "properties": { "first": { "type": "boolean" }, "last": { "type": "boolean" } } } } } } ``` </details> - [Broken on next][next]. - [Working in this PR][pr]! [next]: https://next.readme.ninja [pr]: https://readme-pr-PR_NUMBER.readme.ninja [ui]: https://readme-pr-PR_NUMBER.readme.ninja/ui [icn]: https://user-images.githubusercontent.com/886627/160426047-1bee9488-305a-4145-bb2b-09d8b757d38a.svg <!-- Uncomment and unescape this if you don't want a PR app! --> <!-- \[skip preview\] -->
- Loading branch information