Skip to content

Commit 88ac6a2

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

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4225,6 +4225,7 @@
42254225
"type": "object"
42264226
},
42274227
"alertGroup": {
4228+
"description": "AlertGroup alert group",
42284229
"properties": {
42294230
"alerts": {
42304231
"description": "alerts",
@@ -4462,12 +4463,14 @@
44624463
"type": "object"
44634464
},
44644465
"gettableSilences": {
4466+
"description": "GettableSilences gettable silences",
44654467
"items": {
44664468
"$ref": "#/definitions/gettableSilence"
44674469
},
44684470
"type": "array"
44694471
},
44704472
"integration": {
4473+
"description": "Integration integration",
44714474
"properties": {
44724475
"lastNotifyAttempt": {
44734476
"description": "A timestamp indicating the last attempt to deliver a notification regardless of the outcome.\nFormat: date-time",
@@ -4611,7 +4614,6 @@
46114614
"type": "array"
46124615
},
46134616
"postableSilence": {
4614-
"description": "PostableSilence postable silence",
46154617
"properties": {
46164618
"comment": {
46174619
"description": "comment",
@@ -4649,7 +4651,6 @@
46494651
"type": "object"
46504652
},
46514653
"receiver": {
4652-
"description": "Receiver receiver",
46534654
"properties": {
46544655
"active": {
46554656
"description": "active",

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

Lines changed: 2 additions & 3 deletions
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",
@@ -4354,6 +4353,7 @@
43544353
"type": "object"
43554354
},
43564355
"gettableAlert": {
4356+
"description": "GettableAlert gettable alert",
43574357
"properties": {
43584358
"annotations": {
43594359
"$ref": "#/definitions/labelSet"
@@ -4415,7 +4415,6 @@
44154415
"type": "array"
44164416
},
44174417
"gettableSilence": {
4418-
"description": "GettableSilence gettable silence",
44194418
"properties": {
44204419
"comment": {
44214420
"description": "comment",
@@ -4613,7 +4612,6 @@
46134612
"type": "array"
46144613
},
46154614
"postableSilence": {
4616-
"description": "PostableSilence postable silence",
46174615
"properties": {
46184616
"comment": {
46194617
"description": "comment",
@@ -4651,6 +4649,7 @@
46514649
"type": "object"
46524650
},
46534651
"receiver": {
4652+
"description": "Receiver receiver",
46544653
"properties": {
46554654
"active": {
46564655
"description": "active",

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

Lines changed: 2 additions & 3 deletions
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",
@@ -7549,6 +7548,7 @@
75497548
}
75507549
},
75517550
"gettableAlert": {
7551+
"description": "GettableAlert gettable alert",
75527552
"type": "object",
75537553
"required": [
75547554
"labels",
@@ -7612,7 +7612,6 @@
76127612
"$ref": "#/definitions/gettableAlerts"
76137613
},
76147614
"gettableSilence": {
7615-
"description": "GettableSilence gettable silence",
76167615
"type": "object",
76177616
"required": [
76187617
"comment",
@@ -7813,7 +7812,6 @@
78137812
}
78147813
},
78157814
"postableSilence": {
7816-
"description": "PostableSilence postable silence",
78177815
"type": "object",
78187816
"required": [
78197817
"comment",
@@ -7852,6 +7850,7 @@
78527850
"$ref": "#/definitions/postableSilence"
78537851
},
78547852
"receiver": {
7853+
"description": "Receiver receiver",
78557854
"type": "object",
78567855
"required": [
78577856
"active",

0 commit comments

Comments
 (0)