Skip to content

Commit

Permalink
fix(schema): use anyOf for ruleset matching (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
plyr4 committed May 9, 2023
1 parent a4eb94b commit 1203118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/schema/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func main() {
s.Definitions["Ruleset"].AdditionalProperties = []byte("")

// at the top level for Ruleset
s.Definitions["Ruleset"].OneOf = []*jsonschema.Type{
s.Definitions["Ruleset"].AnyOf = []*jsonschema.Type{
{
Properties: rulesetProps,
Type: "object",
Expand Down

0 comments on commit 1203118

Please sign in to comment.