Chore: Move swagger definitions to the handlers (#52643)

This commit is contained in:
Sofia Papagiannaki
2022-07-27 16:54:37 +03:00
committed by GitHub
parent c968b76279
commit 7ba076de10
76 changed files with 6022 additions and 6161 deletions

View File

@@ -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"`
}