fix swagger spec for receivers API response (#57124)

This commit is contained in:
Santiago
2022-10-17 16:58:55 -03:00
committed by GitHub
parent 888bdfd4ad
commit 6ad405e256
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"