Alerting: Fix swagger specification (#49273)
* Alerting: fix specification * Update merged swagger specification
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user