POST routes to PUT routes (#48828)

This commit is contained in:
Alexander Weaver
2022-05-06 14:33:30 -05:00
committed by GitHub
parent bb66c03f9a
commit 809aa38103
9 changed files with 48 additions and 46 deletions
+4 -3
View File
@@ -1250,7 +1250,7 @@
}
}
},
"post": {
"put": {
"consumes": [
"application/json"
],
@@ -1258,7 +1258,7 @@
"provisioning"
],
"summary": "Sets the notification policy tree.",
"operationId": "RoutePostPolicyTree",
"operationId": "RoutePutPolicyTree",
"parameters": [
{
"name": "Body",
@@ -5555,7 +5555,6 @@
"$ref": "#/definitions/postableSilence"
},
"receiver": {
"description": "Receiver receiver",
"type": "object",
"required": [
"name"
@@ -5567,6 +5566,8 @@
"x-go-name": "Name"
}
},
"x-go-name": "Receiver",
"x-go-package": "github.com/prometheus/alertmanager/api/v2/models",
"$ref": "#/definitions/receiver"
},
"silence": {