Skip to content

Commit e4b949f

Browse files
chore: update alerting swagger spec
1 parent 7ac2fd7 commit e4b949f

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -4253,7 +4253,6 @@
42534253
"type": "object"
42544254
},
42554255
"alertGroups": {
4256-
"description": "AlertGroups alert groups",
42574256
"items": {
42584257
"$ref": "#/definitions/alertGroup"
42594258
},
@@ -4469,13 +4468,13 @@
44694468
"type": "object"
44704469
},
44714470
"gettableSilences": {
4471+
"description": "GettableSilences gettable silences",
44724472
"items": {
44734473
"$ref": "#/definitions/gettableSilence"
44744474
},
44754475
"type": "array"
44764476
},
44774477
"integration": {
4478-
"description": "Integration integration",
44794478
"properties": {
44804479
"lastNotifyAttempt": {
44814480
"description": "A timestamp indicating the last attempt to deliver a notification regardless of the outcome.\nFormat: date-time",
@@ -4657,7 +4656,6 @@
46574656
"type": "object"
46584657
},
46594658
"receiver": {
4660-
"description": "Receiver receiver",
46614659
"properties": {
46624660
"active": {
46634661
"description": "active",

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

+3
Original file line numberDiff line numberDiff line change
@@ -4254,6 +4254,7 @@
42544254
"type": "object"
42554255
},
42564256
"alertGroups": {
4257+
"description": "AlertGroups alert groups",
42574258
"items": {
42584259
"$ref": "#/definitions/alertGroup"
42594260
},
@@ -4358,6 +4359,7 @@
43584359
"type": "object"
43594360
},
43604361
"gettableAlert": {
4362+
"description": "GettableAlert gettable alert",
43614363
"properties": {
43624364
"annotations": {
43634365
"$ref": "#/definitions/labelSet"
@@ -4413,6 +4415,7 @@
44134415
"type": "object"
44144416
},
44154417
"gettableAlerts": {
4418+
"description": "GettableAlerts gettable alerts",
44164419
"items": {
44174420
"$ref": "#/definitions/gettableAlert"
44184421
},

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

+3
Original file line numberDiff line numberDiff line change
@@ -7408,6 +7408,7 @@
74087408
"$ref": "#/definitions/alertGroup"
74097409
},
74107410
"alertGroups": {
7411+
"description": "AlertGroups alert groups",
74117412
"type": "array",
74127413
"items": {
74137414
"$ref": "#/definitions/alertGroup"
@@ -7513,6 +7514,7 @@
75137514
}
75147515
},
75157516
"gettableAlert": {
7517+
"description": "GettableAlert gettable alert",
75167518
"type": "object",
75177519
"required": [
75187520
"labels",
@@ -7569,6 +7571,7 @@
75697571
"$ref": "#/definitions/gettableAlert"
75707572
},
75717573
"gettableAlerts": {
7574+
"description": "GettableAlerts gettable alerts",
75727575
"type": "array",
75737576
"items": {
75747577
"$ref": "#/definitions/gettableAlert"

0 commit comments

Comments
 (0)