Alerting: Template API to return errutil errors (#91821)

This commit is contained in:
Yuri Tseretyan
2024-08-13 10:59:19 -04:00
committed by GitHub
parent 9067797eb4
commit db33df5041
11 changed files with 104 additions and 65 deletions
@@ -6,7 +6,6 @@ package definitions
//
// Responses:
// 200: NotificationTemplates
// 404: description: Not found.
// swagger:route GET /v1/provisioning/templates/{name} provisioning stable RouteGetTemplate
//
@@ -14,7 +13,7 @@ package definitions
//
// Responses:
// 200: NotificationTemplate
// 404: description: Not found.
// 404: GenericPublicError
// swagger:route PUT /v1/provisioning/templates/{name} provisioning stable RoutePutTemplate
//
@@ -25,7 +24,7 @@ package definitions
//
// Responses:
// 202: NotificationTemplate
// 400: ValidationError
// 400: GenericPublicError
// 409: GenericPublicError
// swagger:route DELETE /v1/provisioning/templates/{name} provisioning stable RouteDeleteTemplate