mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Move swagger definitions to the handlers (#52643)
This commit is contained in:
committed by
GitHub
parent
c968b76279
commit
7ba076de10
@@ -34,7 +34,7 @@ type Correlation struct {
|
||||
|
||||
// CreateCorrelationResponse is the response struct for CreateCorrelationCommand
|
||||
// swagger:model
|
||||
type CreateCorrelationResponse struct {
|
||||
type CreateCorrelationResponseBody struct {
|
||||
Result Correlation `json:"result"`
|
||||
// example: Correlation created
|
||||
Message string `json:"message"`
|
||||
@@ -59,7 +59,7 @@ type CreateCorrelationCommand struct {
|
||||
}
|
||||
|
||||
// swagger:model
|
||||
type DeleteCorrelationResponse struct {
|
||||
type DeleteCorrelationResponseBody struct {
|
||||
// example: Correlation deleted
|
||||
Message string `json:"message"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user