Skip to content

Commit fc472fa

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

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

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

+3
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",
@@ -4589,12 +4590,14 @@
45894590
"type": "object"
45904591
},
45914592
"gettableAlerts": {
4593+
"description": "GettableAlerts gettable alerts",
45924594
"items": {
45934595
"$ref": "#/definitions/gettableAlert"
45944596
},
45954597
"type": "array"
45964598
},
45974599
"gettableSilence": {
4600+
"description": "GettableSilence gettable silence",
45984601
"properties": {
45994602
"comment": {
46004603
"description": "comment",

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

-6
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",
@@ -4429,7 +4428,6 @@
44294428
"type": "object"
44304429
},
44314430
"alertGroups": {
4432-
"description": "AlertGroups alert groups",
44334431
"items": {
44344432
"$ref": "#/definitions/alertGroup"
44354433
},
@@ -4534,7 +4532,6 @@
45344532
"type": "object"
45354533
},
45364534
"gettableAlert": {
4537-
"description": "GettableAlert gettable alert",
45384535
"properties": {
45394536
"annotations": {
45404537
"$ref": "#/definitions/labelSet"
@@ -4645,14 +4642,12 @@
46454642
"type": "object"
46464643
},
46474644
"gettableSilences": {
4648-
"description": "GettableSilences gettable silences",
46494645
"items": {
46504646
"$ref": "#/definitions/gettableSilence"
46514647
},
46524648
"type": "array"
46534649
},
46544650
"integration": {
4655-
"description": "Integration integration",
46564651
"properties": {
46574652
"lastNotifyAttempt": {
46584653
"description": "A timestamp indicating the last attempt to deliver a notification regardless of the outcome.\nFormat: date-time",
@@ -4833,7 +4828,6 @@
48334828
"type": "object"
48344829
},
48354830
"receiver": {
4836-
"description": "Receiver receiver",
48374831
"properties": {
48384832
"active": {
48394833
"description": "active",

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

-6
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",
@@ -7838,7 +7837,6 @@
78387837
"$ref": "#/definitions/alertGroup"
78397838
},
78407839
"alertGroups": {
7841-
"description": "AlertGroups alert groups",
78427840
"type": "array",
78437841
"items": {
78447842
"$ref": "#/definitions/alertGroup"
@@ -7944,7 +7942,6 @@
79447942
}
79457943
},
79467944
"gettableAlert": {
7947-
"description": "GettableAlert gettable alert",
79487945
"type": "object",
79497946
"required": [
79507947
"labels",
@@ -8058,15 +8055,13 @@
80588055
"$ref": "#/definitions/gettableSilence"
80598056
},
80608057
"gettableSilences": {
8061-
"description": "GettableSilences gettable silences",
80628058
"type": "array",
80638059
"items": {
80648060
"$ref": "#/definitions/gettableSilence"
80658061
},
80668062
"$ref": "#/definitions/gettableSilences"
80678063
},
80688064
"integration": {
8069-
"description": "Integration integration",
80708065
"type": "object",
80718066
"required": [
80728067
"name",
@@ -8249,7 +8244,6 @@
82498244
"$ref": "#/definitions/postableSilence"
82508245
},
82518246
"receiver": {
8252-
"description": "Receiver receiver",
82538247
"type": "object",
82548248
"required": [
82558249
"active",

0 commit comments

Comments
 (0)