Alerting: Improve openAPI specification and docs for export endpoints (#85008)

This commit is contained in:
Yuri Tseretyan
2024-03-22 18:25:27 +02:00
committed by GitHub
parent e9db9106c1
commit e138ae3eb9
13 changed files with 731 additions and 83 deletions
@@ -18,10 +18,11 @@ type ExportQueryParams struct {
// default: false
Download bool `json:"download"`
// Format of the downloaded file, either yaml or json. Accept header can also be used, but the query parameter will take precedence.
// Format of the downloaded file. Supported yaml, json or hcl. Accept header can also be used, but the query parameter will take precedence.
// in: query
// required: false
// default: yaml
// enum: yaml,json,hcl
Format string `json:"format"`
}