Skip to content

Commit

Permalink
fix: add separate node type for patternProperties (#1644)
Browse files Browse the repository at this point in the history
* fix: add PatternProperties type to target patternProperties separately from properties

* add changeset

* remove redundancy

* commit redocly.yaml and update .gitignore to only target root redocly.yaml

* Update .changeset/sour-pandas-wave.md

Co-authored-by: JLekawa <[email protected]>

---------

Co-authored-by: JLekawa <[email protected]>
  • Loading branch information
tatomyr and JLekawa authored Jul 25, 2024
1 parent 76669ca commit 9855904
Show file tree
Hide file tree
Showing 10 changed files with 79 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .changeset/sour-pandas-wave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@redocly/openapi-core": patch
"@redocly/cli": patch
---

Fixed an issue where `patternProperties` incorrectly caused linting errors due to a missing `PatternProperties` node.
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ output/
*.tgz
redoc-static.html
packages/cli/README.md
redocly.yaml
.redocly.yaml
redocly.yml
.redocly.yml
/redocly.yaml
/.redocly.yaml
/redocly.yml
/.redocly.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

1 comment on commit 9855904

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements 77.44% 4676/6038
🟡 Branches 67.28% 2601/3866
🟡 Functions 71.08% 767/1079
🟡 Lines 77.71% 4404/5667

Test suite run success

758 tests passing in 107 suites.

Report generated by 🧪jest coverage report action from 9855904

Please sign in to comment.