1 parent acd7b5f commit a71474cCopy full SHA for a71474c
1 file changed
api/pkg/responses/response.go
@@ -2,7 +2,7 @@ package responses
2
3
type response struct {
4
Status string `json:"status" example:"success"`
5
- Message string `json:"message" example:"item created successfully"`
+ Message string `json:"message" example:"Request handled successfully"`
6
}
7
8
// InternalServerError is the response with status code is 500
@@ -27,7 +27,7 @@ type BadRequest struct {
27
// UnprocessableEntity is the response with status code is 422
28
type UnprocessableEntity struct {
29
Status string `json:"status" example:"error"`
30
- Message string `json:"message" example:"validation errors while sending message"`
+ Message string `json:"message" example:"validation errors while handling request"`
31
Data map[string][]string `json:"data"`
32
33
0 commit comments