Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 40a4e46

Browse files
authoredDec 9, 2024
chore: update alerting swagger spec
1 parent 4b5b738 commit 40a4e46

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed
 

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -4441,7 +4441,6 @@
44414441
"type": "object"
44424442
},
44434443
"alertGroups": {
4444-
"description": "AlertGroups alert groups",
44454444
"items": {
44464445
"$ref": "#/definitions/alertGroup"
44474446
},
@@ -4546,7 +4545,6 @@
45464545
"type": "object"
45474546
},
45484547
"gettableAlert": {
4549-
"description": "GettableAlert gettable alert",
45504548
"properties": {
45514549
"annotations": {
45524550
"$ref": "#/definitions/labelSet"
@@ -4602,6 +4600,7 @@
46024600
"type": "object"
46034601
},
46044602
"gettableAlerts": {
4603+
"description": "GettableAlerts gettable alerts",
46054604
"items": {
46064605
"$ref": "#/definitions/gettableAlert"
46074606
},
@@ -4807,7 +4806,6 @@
48074806
"type": "array"
48084807
},
48094808
"postableSilence": {
4810-
"description": "PostableSilence postable silence",
48114809
"properties": {
48124810
"comment": {
48134811
"description": "comment",

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -4441,6 +4441,7 @@
44414441
"type": "object"
44424442
},
44434443
"alertGroups": {
4444+
"description": "AlertGroups alert groups",
44444445
"items": {
44454446
"$ref": "#/definitions/alertGroup"
44464447
},
@@ -4545,6 +4546,7 @@
45454546
"type": "object"
45464547
},
45474548
"gettableAlert": {
4549+
"description": "GettableAlert gettable alert",
45484550
"properties": {
45494551
"annotations": {
45504552
"$ref": "#/definitions/labelSet"
@@ -4600,13 +4602,13 @@
46004602
"type": "object"
46014603
},
46024604
"gettableAlerts": {
4605+
"description": "GettableAlerts gettable alerts",
46034606
"items": {
46044607
"$ref": "#/definitions/gettableAlert"
46054608
},
46064609
"type": "array"
46074610
},
46084611
"gettableSilence": {
4609-
"description": "GettableSilence gettable silence",
46104612
"properties": {
46114613
"comment": {
46124614
"description": "comment",
@@ -4655,7 +4657,6 @@
46554657
"type": "object"
46564658
},
46574659
"gettableSilences": {
4658-
"description": "GettableSilences gettable silences",
46594660
"items": {
46604661
"$ref": "#/definitions/gettableSilence"
46614662
},
@@ -4843,7 +4844,6 @@
48434844
"type": "object"
48444845
},
48454846
"receiver": {
4846-
"description": "Receiver receiver",
48474847
"properties": {
48484848
"active": {
48494849
"description": "active",

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -7920,6 +7920,7 @@
79207920
"$ref": "#/definitions/alertGroup"
79217921
},
79227922
"alertGroups": {
7923+
"description": "AlertGroups alert groups",
79237924
"type": "array",
79247925
"items": {
79257926
"$ref": "#/definitions/alertGroup"
@@ -8025,6 +8026,7 @@
80258026
}
80268027
},
80278028
"gettableAlert": {
8029+
"description": "GettableAlert gettable alert",
80288030
"type": "object",
80298031
"required": [
80308032
"labels",
@@ -8081,14 +8083,14 @@
80818083
"$ref": "#/definitions/gettableAlert"
80828084
},
80838085
"gettableAlerts": {
8086+
"description": "GettableAlerts gettable alerts",
80848087
"type": "array",
80858088
"items": {
80868089
"$ref": "#/definitions/gettableAlert"
80878090
},
80888091
"$ref": "#/definitions/gettableAlerts"
80898092
},
80908093
"gettableSilence": {
8091-
"description": "GettableSilence gettable silence",
80928094
"type": "object",
80938095
"required": [
80948096
"comment",
@@ -8138,7 +8140,6 @@
81388140
"$ref": "#/definitions/gettableSilence"
81398141
},
81408142
"gettableSilences": {
8141-
"description": "GettableSilences gettable silences",
81428143
"type": "array",
81438144
"items": {
81448145
"$ref": "#/definitions/gettableSilence"
@@ -8329,7 +8330,6 @@
83298330
"$ref": "#/definitions/postableSilence"
83308331
},
83318332
"receiver": {
8332-
"description": "Receiver receiver",
83338333
"type": "object",
83348334
"required": [
83358335
"active",

0 commit comments

Comments
 (0)
Please sign in to comment.