fix swagger spec for receivers API response (#57124) (#57128)

(cherry picked from commit 6ad405e256)

Co-authored-by: Santiago <santiagohernandez.1997@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2022-10-18 12:50:54 -03:00
committed by GitHub
co-authored by Santiago
parent 484df7d682
commit 29baf812cf
7 changed files with 53 additions and 15 deletions
+11 -2
View File
@@ -3405,7 +3405,6 @@
"type": "object"
},
"gettableAlert": {
"description": "GettableAlert gettable alert",
"properties": {
"annotations": {
"$ref": "#/definitions/labelSet"
@@ -3467,7 +3466,6 @@
"type": "array"
},
"gettableSilence": {
"description": "GettableSilence gettable silence",
"properties": {
"comment": {
"description": "comment",
@@ -4474,6 +4472,17 @@
"produces": [
"application/json"
],
"responses": {
"receiversResponse": {
"description": "",
"schema": {
"items": {
"$ref": "#/definitions/receiver"
},
"type": "array"
}
}
},
"schemes": [
"http",
"https"