Alerting: Fix swagger specification (#49273)

* Alerting: fix specification

* Update merged swagger specification
This commit is contained in:
Sofia Papagiannaki
2022-05-26 14:43:59 +03:00
committed by GitHub
parent a95ba8eb3f
commit 7cf321d7bd
10 changed files with 481 additions and 1900 deletions
@@ -23,7 +23,7 @@ import (
// - application/json
//
// Responses:
// 202: Accepted
// 202: Ack
// 400: ValidationError
// swagger:route PUT /api/provisioning/contact-points/{ID} provisioning RoutePutContactpoint
@@ -34,7 +34,7 @@ import (
// - application/json
//
// Responses:
// 202: Accepted
// 202: Ack
// 400: ValidationError
// swagger:route DELETE /api/provisioning/contact-points/{ID} provisioning RouteDeleteContactpoints
@@ -45,9 +45,16 @@ import (
// - application/json
//
// Responses:
// 202: Accepted
// 202: Ack
// 400: ValidationError
// swagger:parameters RoutePutContactpoint RouteDeleteContactpoints
type ContactPointUIDReference struct {
// ContactPointUID should be the contact point UID identifier
// in:path
ID string
}
// swagger:parameters RoutePostContactpoints RoutePutContactpoint
type ContactPointPayload struct {
// in:body