Alerting: Fix status code of successful response POST /api/alertmanager/grafana/api/v2/silences in swagger specs (#67951)

* update status code to reflect reality

* update docs
This commit is contained in:
Yuri Tseretyan
2023-05-15 11:23:30 -04:00
committed by GitHub
parent f7b8a666f4
commit ab5a3820d5
3 changed files with 3 additions and 3 deletions
@@ -203,7 +203,7 @@ import (
// create silence
//
// Responses:
// 201: postSilencesOKBody
// 202: postSilencesOKBody
// 400: ValidationError
// swagger:route POST /api/alertmanager/{DatasourceUID}/api/v2/silences alertmanager RouteCreateSilence