readmeio / rdme

ReadMe's official command-line interface (CLI) and GitHub Action šŸŒŠ
https://docs.readme.com/main/docs/rdme
MIT License
103 stars 42 forks source link

chore(deps): update @readme/openapi-parser #1004

Closed darrenyong closed 3 months ago

darrenyong commented 3 months ago
PR App šŸš„ Resolves RM-9343

šŸ§° Changes

This bumps @readme/openapi-parser to include these changes:

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:

OAS 3.1 file ```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" } } } } } } ```
kanadgupta commented 3 months ago

@darrenyong this was released in v9.0.0-next.17!