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
+5 -4
View File
@@ -3569,7 +3569,6 @@
"x-go-package": "github.com/prometheus/alertmanager/api/v2/models"
},
"receiver": {
"description": "Receiver receiver",
"properties": {
"name": {
"description": "name",
@@ -3580,7 +3579,9 @@
"required": [
"name"
],
"type": "object"
"type": "object",
"x-go-name": "Receiver",
"x-go-package": "github.com/prometheus/alertmanager/api/v2/models"
},
"silence": {
"description": "Silence silence",
@@ -4927,11 +4928,11 @@
"provisioning"
]
},
"post": {
"put": {
"consumes": [
"application/json"
],
"operationId": "RoutePostPolicyTree",
"operationId": "RoutePutPolicyTree",
"parameters": [
{
"in": "body",