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
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:
5506
internal/http/swagger/docs/docs.go
Normal file
5506
internal/http/swagger/docs/docs.go
Normal file
File diff suppressed because it is too large
Load Diff
5486
internal/http/swagger/docs/swagger.json
Normal file
5486
internal/http/swagger/docs/swagger.json
Normal file
File diff suppressed because it is too large
Load Diff
3599
internal/http/swagger/docs/swagger.yaml
Normal file
3599
internal/http/swagger/docs/swagger.yaml
Normal file
File diff suppressed because it is too large
Load Diff
14
internal/http/swagger/models.go
Normal file
14
internal/http/swagger/models.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user