Skip to content

Commit

Permalink
Fixed ActionRule's polymorphism via discriminator
Browse files Browse the repository at this point in the history
  • Loading branch information
EranGon committed Sep 17, 2020
1 parent 434f266 commit 2d75ca9
Showing 1 changed file with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -850,15 +850,15 @@
"$ref": "#/definitions/ActionRuleProperties"
},
{
"type": "object"
}
],
"properties": {
"suppressionConfig": {
"description": "suppression configuration for the action rule",
"$ref": "#/definitions/SuppressionConfig"
"type": "object",
"properties": {
"suppressionConfig": {
"description": "suppression configuration for the action rule",
"$ref": "#/definitions/SuppressionConfig"
}
}
}
}
]
},
"ActionGroup": {
"title": "Action Group based Action Rule",
Expand All @@ -871,15 +871,15 @@
"$ref": "#/definitions/ActionRuleProperties"
},
{
"type": "object"
}
],
"properties": {
"actionGroupId": {
"type": "string",
"description": "Action group to trigger if action rule matches"
"type": "object",
"properties": {
"actionGroupId": {
"type": "string",
"description": "Action group to trigger if action rule matches"
}
}
}
}
]
},
"Diagnostics": {
"title": "Diagnostics based Action Rule",
Expand Down

0 comments on commit 2d75ca9

Please sign in to comment.