Alerting: Re-generate swagger definitions (#62154)

Regenerate swagger, add body binding so parameters work
This commit is contained in:
Alexander Weaver
2023-01-25 15:01:42 -06:00
committed by GitHub
parent 4a1d418157
commit eb1293ebb1
7 changed files with 523 additions and 277 deletions

View File

@@ -31,7 +31,7 @@ func (f *TestingApiHandler) BacktestConfig(ctx *models.ReqContext) response.Resp
if err := web.Bind(ctx.Req, &conf); err != nil {
return response.Error(http.StatusBadRequest, "bad request data", err)
}
return f.handleBacktestingConfig(ctx, conf)
return f.handleBacktestConfig(ctx, conf)
}
func (f *TestingApiHandler) RouteEvalQueries(ctx *models.ReqContext) response.Response {
// Parse Request Body