Skip to content

Commit 6055100

Browse files
chore: update alerting swagger spec
1 parent 9bf1aa9 commit 6055100

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

pkg/services/ngalert/api/tooling/api.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4352,7 +4352,6 @@
43524352
"type": "object"
43534353
},
43544354
"gettableAlert": {
4355-
"description": "GettableAlert gettable alert",
43564355
"properties": {
43574356
"annotations": {
43584357
"$ref": "#/definitions/labelSet"
@@ -4408,6 +4407,7 @@
44084407
"type": "object"
44094408
},
44104409
"gettableAlerts": {
4410+
"description": "GettableAlerts gettable alerts",
44114411
"items": {
44124412
"$ref": "#/definitions/gettableAlert"
44134413
},
@@ -4468,6 +4468,7 @@
44684468
"type": "array"
44694469
},
44704470
"integration": {
4471+
"description": "Integration integration",
44714472
"properties": {
44724473
"lastNotifyAttempt": {
44734474
"description": "A timestamp indicating the last attempt to deliver a notification regardless of the outcome.\nFormat: date-time",
@@ -4611,7 +4612,6 @@
46114612
"type": "array"
46124613
},
46134614
"postableSilence": {
4614-
"description": "PostableSilence postable silence",
46154615
"properties": {
46164616
"comment": {
46174617
"description": "comment",

pkg/services/ngalert/api/tooling/post.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4226,7 +4226,6 @@
42264226
"type": "object"
42274227
},
42284228
"alertGroup": {
4229-
"description": "AlertGroup alert group",
42304229
"properties": {
42314230
"alerts": {
42324231
"description": "alerts",
@@ -4464,12 +4463,14 @@
44644463
"type": "object"
44654464
},
44664465
"gettableSilences": {
4466+
"description": "GettableSilences gettable silences",
44674467
"items": {
44684468
"$ref": "#/definitions/gettableSilence"
44694469
},
44704470
"type": "array"
44714471
},
44724472
"integration": {
4473+
"description": "Integration integration",
44734474
"properties": {
44744475
"lastNotifyAttempt": {
44754476
"description": "A timestamp indicating the last attempt to deliver a notification regardless of the outcome.\nFormat: date-time",

pkg/services/ngalert/api/tooling/spec.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7419,7 +7419,6 @@
74197419
}
74207420
},
74217421
"alertGroup": {
7422-
"description": "AlertGroup alert group",
74237422
"type": "object",
74247423
"required": [
74257424
"alerts",
@@ -7662,13 +7661,15 @@
76627661
"$ref": "#/definitions/gettableSilence"
76637662
},
76647663
"gettableSilences": {
7664+
"description": "GettableSilences gettable silences",
76657665
"type": "array",
76667666
"items": {
76677667
"$ref": "#/definitions/gettableSilence"
76687668
},
76697669
"$ref": "#/definitions/gettableSilences"
76707670
},
76717671
"integration": {
7672+
"description": "Integration integration",
76727673
"type": "object",
76737674
"required": [
76747675
"name",

0 commit comments

Comments
 (0)