Skip to content

Commit 755fd6f

Browse files
authored
chore: update alerting swagger spec
1 parent 2c2ac09 commit 755fd6f

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -4428,7 +4428,6 @@
44284428
"type": "object"
44294429
},
44304430
"alertGroups": {
4431-
"description": "AlertGroups alert groups",
44324431
"items": {
44334432
"$ref": "#/definitions/alertGroup"
44344433
},
@@ -4595,6 +4594,7 @@
45954594
"type": "array"
45964595
},
45974596
"gettableSilence": {
4597+
"description": "GettableSilence gettable silence",
45984598
"properties": {
45994599
"comment": {
46004600
"description": "comment",
@@ -4793,6 +4793,7 @@
47934793
"type": "array"
47944794
},
47954795
"postableSilence": {
4796+
"description": "PostableSilence postable silence",
47964797
"properties": {
47974798
"comment": {
47984799
"description": "comment",
@@ -4830,6 +4831,7 @@
48304831
"type": "object"
48314832
},
48324833
"receiver": {
4834+
"description": "Receiver receiver",
48334835
"properties": {
48344836
"active": {
48354837
"description": "active",

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

+2-4
Original file line numberDiff line numberDiff line change
@@ -4405,7 +4405,6 @@
44054405
"type": "object"
44064406
},
44074407
"alertGroup": {
4408-
"description": "AlertGroup alert group",
44094408
"properties": {
44104409
"alerts": {
44114410
"description": "alerts",
@@ -4534,7 +4533,6 @@
45344533
"type": "object"
45354534
},
45364535
"gettableAlert": {
4537-
"description": "GettableAlert gettable alert",
45384536
"properties": {
45394537
"annotations": {
45404538
"$ref": "#/definitions/labelSet"
@@ -4590,6 +4588,7 @@
45904588
"type": "object"
45914589
},
45924590
"gettableAlerts": {
4591+
"description": "GettableAlerts gettable alerts",
45934592
"items": {
45944593
"$ref": "#/definitions/gettableAlert"
45954594
},
@@ -4645,7 +4644,6 @@
46454644
"type": "object"
46464645
},
46474646
"gettableSilences": {
4648-
"description": "GettableSilences gettable silences",
46494647
"items": {
46504648
"$ref": "#/definitions/gettableSilence"
46514649
},
@@ -4796,6 +4794,7 @@
47964794
"type": "array"
47974795
},
47984796
"postableSilence": {
4797+
"description": "PostableSilence postable silence",
47994798
"properties": {
48004799
"comment": {
48014800
"description": "comment",
@@ -4833,7 +4832,6 @@
48334832
"type": "object"
48344833
},
48354834
"receiver": {
4836-
"description": "Receiver receiver",
48374835
"properties": {
48384836
"active": {
48394837
"description": "active",

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

+2-4
Original file line numberDiff line numberDiff line change
@@ -7813,7 +7813,6 @@
78137813
}
78147814
},
78157815
"alertGroup": {
7816-
"description": "AlertGroup alert group",
78177816
"type": "object",
78187817
"required": [
78197818
"alerts",
@@ -7944,7 +7943,6 @@
79447943
}
79457944
},
79467945
"gettableAlert": {
7947-
"description": "GettableAlert gettable alert",
79487946
"type": "object",
79497947
"required": [
79507948
"labels",
@@ -8001,6 +7999,7 @@
80017999
"$ref": "#/definitions/gettableAlert"
80028000
},
80038001
"gettableAlerts": {
8002+
"description": "GettableAlerts gettable alerts",
80048003
"type": "array",
80058004
"items": {
80068005
"$ref": "#/definitions/gettableAlert"
@@ -8058,7 +8057,6 @@
80588057
"$ref": "#/definitions/gettableSilence"
80598058
},
80608059
"gettableSilences": {
8061-
"description": "GettableSilences gettable silences",
80628060
"type": "array",
80638061
"items": {
80648062
"$ref": "#/definitions/gettableSilence"
@@ -8211,6 +8209,7 @@
82118209
}
82128210
},
82138211
"postableSilence": {
8212+
"description": "PostableSilence postable silence",
82148213
"type": "object",
82158214
"required": [
82168215
"comment",
@@ -8249,7 +8248,6 @@
82498248
"$ref": "#/definitions/postableSilence"
82508249
},
82518250
"receiver": {
8252-
"description": "Receiver receiver",
82538251
"type": "object",
82548252
"required": [
82558253
"active",

0 commit comments

Comments
 (0)