71
Some checks failed
Deploy Production / Deploy to Staging (push) Has been skipped
Go Linter / Run golangci-lint (api_gateway) (push) Failing after 2m31s
Go Linter / Build golang services (api_gateway) (push) Has been skipped
Go Linter / Tag Commit (push) Has been skipped
Go Linter / Push Docker Images (api_gateway) (push) Has been skipped

This commit is contained in:
Alex Shevchuk
2025-09-17 14:32:06 +03:00
parent 03372d7f9b
commit 61fc0d2747
22 changed files with 15486 additions and 10 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,14 @@
package swagger
// ErrorResponse представляет стандартный ответ об ошибке
type ErrorResponse struct {
Error string `json:"error" example:"Bad Request"`
Message string `json:"message" example:"Invalid request parameters"`
Code int `json:"code" example:"400"`
}
// SuccessResponse представляет стандартный ответ об успехе
type SuccessResponse struct {
Message string `json:"message" example:"Operation completed successfully"`
Code int `json:"code" example:"200"`
}