Skip to content

Commit ddf3fdb

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

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-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",
@@ -4589,6 +4590,7 @@
45894590
"type": "object"
45904591
},
45914592
"gettableAlerts": {
4593+
"description": "GettableAlerts gettable alerts",
45924594
"items": {
45934595
"$ref": "#/definitions/gettableAlert"
45944596
},
@@ -4649,7 +4651,6 @@
46494651
"type": "array"
46504652
},
46514653
"integration": {
4652-
"description": "Integration integration",
46534654
"properties": {
46544655
"lastNotifyAttempt": {
46554656
"description": "A timestamp indicating the last attempt to deliver a notification regardless of the outcome.\nFormat: date-time",
@@ -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

+1-3
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",
@@ -4645,14 +4644,12 @@
46454644
"type": "object"
46464645
},
46474646
"gettableSilences": {
4648-
"description": "GettableSilences gettable silences",
46494647
"items": {
46504648
"$ref": "#/definitions/gettableSilence"
46514649
},
46524650
"type": "array"
46534651
},
46544652
"integration": {
4655-
"description": "Integration integration",
46564653
"properties": {
46574654
"lastNotifyAttempt": {
46584655
"description": "A timestamp indicating the last attempt to deliver a notification regardless of the outcome.\nFormat: date-time",
@@ -4796,6 +4793,7 @@
47964793
"type": "array"
47974794
},
47984795
"postableSilence": {
4796+
"description": "PostableSilence postable silence",
47994797
"properties": {
48004798
"comment": {
48014799
"description": "comment",

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

+1-3
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",
@@ -8058,15 +8057,13 @@
80588057
"$ref": "#/definitions/gettableSilence"
80598058
},
80608059
"gettableSilences": {
8061-
"description": "GettableSilences gettable silences",
80628060
"type": "array",
80638061
"items": {
80648062
"$ref": "#/definitions/gettableSilence"
80658063
},
80668064
"$ref": "#/definitions/gettableSilences"
80678065
},
80688066
"integration": {
8069-
"description": "Integration integration",
80708067
"type": "object",
80718068
"required": [
80728069
"name",
@@ -8211,6 +8208,7 @@
82118208
}
82128209
},
82138210
"postableSilence": {
8211+
"description": "PostableSilence postable silence",
82148212
"type": "object",
82158213
"required": [
82168214
"comment",

0 commit comments

Comments
 (0)