Skip to content

Commit b849ef5

Browse files
authored
fix: no-required-schema-properties rule to report when required properties are not defined in all branches (#2705)
chore: refactor the no-required-schema-properties rule
1 parent 4c96a39 commit b849ef5

File tree

3 files changed

+204
-261
lines changed

3 files changed

+204
-261
lines changed

.changeset/fine-cows-begin.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@redocly/openapi-core": patch
3+
"@redocly/cli": patch
4+
---
5+
6+
Fixed the `no-required-schema-properties-undefined` rule to report when a required property is not defined in every `oneOf`/`anyOf` branch.

0 commit comments

Comments
 (0)