Skip to content

Commit 8b82e01

Browse files
authoredSep 2, 2024
chore: update alerting swagger spec
1 parent 2c2ac09 commit 8b82e01

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed
 

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -4405,6 +4405,7 @@
44054405
"type": "object"
44064406
},
44074407
"alertGroup": {
4408+
"description": "AlertGroup alert group",
44084409
"properties": {
44094410
"alerts": {
44104411
"description": "alerts",
@@ -4533,7 +4534,6 @@
45334534
"type": "object"
45344535
},
45354536
"gettableAlert": {
4536-
"description": "GettableAlert gettable alert",
45374537
"properties": {
45384538
"annotations": {
45394539
"$ref": "#/definitions/labelSet"
@@ -4589,6 +4589,7 @@
45894589
"type": "object"
45904590
},
45914591
"gettableAlerts": {
4592+
"description": "GettableAlerts gettable alerts",
45924593
"items": {
45934594
"$ref": "#/definitions/gettableAlert"
45944595
},
@@ -4643,6 +4644,7 @@
46434644
"type": "object"
46444645
},
46454646
"gettableSilences": {
4647+
"description": "GettableSilences gettable silences",
46464648
"items": {
46474649
"$ref": "#/definitions/gettableSilence"
46484650
},

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

+2-3
Original file line numberDiff line numberDiff line change
@@ -4429,7 +4429,6 @@
44294429
"type": "object"
44304430
},
44314431
"alertGroups": {
4432-
"description": "AlertGroups alert groups",
44334432
"items": {
44344433
"$ref": "#/definitions/alertGroup"
44354434
},
@@ -4590,13 +4589,13 @@
45904589
"type": "object"
45914590
},
45924591
"gettableAlerts": {
4592+
"description": "GettableAlerts gettable alerts",
45934593
"items": {
45944594
"$ref": "#/definitions/gettableAlert"
45954595
},
45964596
"type": "array"
45974597
},
45984598
"gettableSilence": {
4599-
"description": "GettableSilence gettable silence",
46004599
"properties": {
46014600
"comment": {
46024601
"description": "comment",
@@ -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",

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

+2-3
Original file line numberDiff line numberDiff line change
@@ -7838,7 +7838,6 @@
78387838
"$ref": "#/definitions/alertGroup"
78397839
},
78407840
"alertGroups": {
7841-
"description": "AlertGroups alert groups",
78427841
"type": "array",
78437842
"items": {
78447843
"$ref": "#/definitions/alertGroup"
@@ -8001,14 +8000,14 @@
80018000
"$ref": "#/definitions/gettableAlert"
80028001
},
80038002
"gettableAlerts": {
8003+
"description": "GettableAlerts gettable alerts",
80048004
"type": "array",
80058005
"items": {
80068006
"$ref": "#/definitions/gettableAlert"
80078007
},
80088008
"$ref": "#/definitions/gettableAlerts"
80098009
},
80108010
"gettableSilence": {
8011-
"description": "GettableSilence gettable silence",
80128011
"type": "object",
80138012
"required": [
80148013
"comment",
@@ -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",

0 commit comments

Comments
 (0)