Redocly / redocly-cli

⚒️ Redocly CLI makes OpenAPI easy. Lint/validate to any standard, generate beautiful docs, and more.
https://redocly.com/docs/cli/
MIT License
852 stars 129 forks source link

fix: add type tree for metadata-schema rule #1504

Closed tatomyr closed 3 months ago

tatomyr commented 3 months ago

What/Why/How?

Fixes failures on the metadata-schema rule.

Reference

Testing

Screenshots (optional)

Check yourself

Security

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: 705243c7551059703425c51c8e329bac25ecf4b2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | --------------------- | ----- | | @redocly/openapi-core | Patch | | @redocly/cli | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

github-actions[bot] commented 3 months ago
Command Mean [s] Min [s] Max [s] Relative
redocly lint packages/core/src/benchmark/benches/rebilly.yaml 1.031 ± 0.016 1.013 1.062 1.00
redocly-next lint packages/core/src/benchmark/benches/rebilly.yaml 1.038 ± 0.014 1.026 1.076 1.01 ± 0.02
github-actions[bot] commented 3 months ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟡 Statements 76.65% 4395/5734
🟡 Branches 66.72% 2360/3537
🟡 Functions 70.1% 722/1030
🟡 Lines 76.82% 4126/5371

Test suite run success

716 tests passing in 101 suites.

Report generated by 🧪jest coverage report action from 705243c7551059703425c51c8e329bac25ecf4b2