Alerting: Improve openAPI specification and docs for export endpoints (#85008)
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user