Skip to content

Commit ac29c5e

Browse files
authored
chore: update alerting swagger spec
1 parent 4b5b738 commit ac29c5e

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
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",
@@ -4656,14 +4655,12 @@
46564655
"type": "object"
46574656
},
46584657
"gettableSilences": {
4659-
"description": "GettableSilences gettable silences",
46604658
"items": {
46614659
"$ref": "#/definitions/gettableSilence"
46624660
},
46634661
"type": "array"
46644662
},
46654663
"integration": {
4666-
"description": "Integration integration",
46674664
"properties": {
46684665
"lastNotifyAttempt": {
46694666
"description": "A timestamp indicating the last attempt to deliver a notification regardless of the outcome.\nFormat: date-time",
@@ -4807,7 +4804,6 @@
48074804
"type": "array"
48084805
},
48094806
"postableSilence": {
4810-
"description": "PostableSilence postable silence",
48114807
"properties": {
48124808
"comment": {
48134809
"description": "comment",
@@ -4845,6 +4841,7 @@
48454841
"type": "object"
48464842
},
48474843
"receiver": {
4844+
"description": "Receiver receiver",
48484845
"properties": {
48494846
"active": {
48504847
"description": "active",

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

+1-3
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",
@@ -4545,6 +4544,7 @@
45454544
"type": "object"
45464545
},
45474546
"gettableAlert": {
4547+
"description": "GettableAlert gettable alert",
45484548
"properties": {
45494549
"annotations": {
45504550
"$ref": "#/definitions/labelSet"
@@ -4655,14 +4655,12 @@
46554655
"type": "object"
46564656
},
46574657
"gettableSilences": {
4658-
"description": "GettableSilences gettable silences",
46594658
"items": {
46604659
"$ref": "#/definitions/gettableSilence"
46614660
},
46624661
"type": "array"
46634662
},
46644663
"integration": {
4665-
"description": "Integration integration",
46664664
"properties": {
46674665
"lastNotifyAttempt": {
46684666
"description": "A timestamp indicating the last attempt to deliver a notification regardless of the outcome.\nFormat: date-time",

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -7895,7 +7895,6 @@
78957895
}
78967896
},
78977897
"alertGroup": {
7898-
"description": "AlertGroup alert group",
78997898
"type": "object",
79007899
"required": [
79017900
"alerts",
@@ -8025,6 +8024,7 @@
80258024
}
80268025
},
80278026
"gettableAlert": {
8027+
"description": "GettableAlert gettable alert",
80288028
"type": "object",
80298029
"required": [
80308030
"labels",
@@ -8138,15 +8138,13 @@
81388138
"$ref": "#/definitions/gettableSilence"
81398139
},
81408140
"gettableSilences": {
8141-
"description": "GettableSilences gettable silences",
81428141
"type": "array",
81438142
"items": {
81448143
"$ref": "#/definitions/gettableSilence"
81458144
},
81468145
"$ref": "#/definitions/gettableSilences"
81478146
},
81488147
"integration": {
8149-
"description": "Integration integration",
81508148
"type": "object",
81518149
"required": [
81528150
"name",

0 commit comments

Comments
 (0)