File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ package responses
22
33type response struct {
44 Status string `json:"status" example:"success"`
5- Message string `json:"message" example:"item created successfully"`
5+ Message string `json:"message" example:"Request handled successfully"`
66}
77
88// InternalServerError is the response with status code is 500
@@ -27,7 +27,7 @@ type BadRequest struct {
2727// UnprocessableEntity is the response with status code is 422
2828type UnprocessableEntity struct {
2929 Status string `json:"status" example:"error"`
30- Message string `json:"message" example:"validation errors while sending message "`
30+ Message string `json:"message" example:"validation errors while handling request "`
3131 Data map [string ][]string `json:"data"`
3232}
3333
You can’t perform that action at this time.
0 commit comments