Skip to content

Commit 44394dd

Browse files
authoredJan 13, 2025
chore: update alerting swagger spec
1 parent 4b5b738 commit 44394dd

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed
 

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

+1-4
Original file line numberDiff line numberDiff line change
@@ -4417,7 +4417,6 @@
44174417
"type": "object"
44184418
},
44194419
"alertGroup": {
4420-
"description": "AlertGroup alert group",
44214420
"properties": {
44224421
"alerts": {
44234422
"description": "alerts",
@@ -4441,7 +4440,6 @@
44414440
"type": "object"
44424441
},
44434442
"alertGroups": {
4444-
"description": "AlertGroups alert groups",
44454443
"items": {
44464444
"$ref": "#/definitions/alertGroup"
44474445
},
@@ -4546,7 +4544,6 @@
45464544
"type": "object"
45474545
},
45484546
"gettableAlert": {
4549-
"description": "GettableAlert gettable alert",
45504547
"properties": {
45514548
"annotations": {
45524549
"$ref": "#/definitions/labelSet"
@@ -4608,6 +4605,7 @@
46084605
"type": "array"
46094606
},
46104607
"gettableSilence": {
4608+
"description": "GettableSilence gettable silence",
46114609
"properties": {
46124610
"comment": {
46134611
"description": "comment",
@@ -4656,7 +4654,6 @@
46564654
"type": "object"
46574655
},
46584656
"gettableSilences": {
4659-
"description": "GettableSilences gettable silences",
46604657
"items": {
46614658
"$ref": "#/definitions/gettableSilence"
46624659
},

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -4545,6 +4545,7 @@
45454545
"type": "object"
45464546
},
45474547
"gettableAlert": {
4548+
"description": "GettableAlert gettable alert",
45484549
"properties": {
45494550
"annotations": {
45504551
"$ref": "#/definitions/labelSet"
@@ -4600,6 +4601,7 @@
46004601
"type": "object"
46014602
},
46024603
"gettableAlerts": {
4604+
"description": "GettableAlerts gettable alerts",
46034605
"items": {
46044606
"$ref": "#/definitions/gettableAlert"
46054607
},
@@ -4806,6 +4808,7 @@
48064808
"type": "array"
48074809
},
48084810
"postableSilence": {
4811+
"description": "PostableSilence postable silence",
48094812
"properties": {
48104813
"comment": {
48114814
"description": "comment",
@@ -4843,7 +4846,6 @@
48434846
"type": "object"
48444847
},
48454848
"receiver": {
4846-
"description": "Receiver receiver",
48474849
"properties": {
48484850
"active": {
48494851
"description": "active",

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -8025,6 +8025,7 @@
80258025
}
80268026
},
80278027
"gettableAlert": {
8028+
"description": "GettableAlert gettable alert",
80288029
"type": "object",
80298030
"required": [
80308031
"labels",
@@ -8081,6 +8082,7 @@
80818082
"$ref": "#/definitions/gettableAlert"
80828083
},
80838084
"gettableAlerts": {
8085+
"description": "GettableAlerts gettable alerts",
80848086
"type": "array",
80858087
"items": {
80868088
"$ref": "#/definitions/gettableAlert"
@@ -8291,6 +8293,7 @@
82918293
}
82928294
},
82938295
"postableSilence": {
8296+
"description": "PostableSilence postable silence",
82948297
"type": "object",
82958298
"required": [
82968299
"comment",
@@ -8329,7 +8332,6 @@
83298332
"$ref": "#/definitions/postableSilence"
83308333
},
83318334
"receiver": {
8332-
"description": "Receiver receiver",
83338335
"type": "object",
83348336
"required": [
83358337
"active",

0 commit comments

Comments
 (0)