Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Fix swagger example

Acho Arnolda71474c89ef9
diff --git a/api/pkg/responses/response.go b/api/pkg/responses/response.go
index 5b98866f..c61c919e 100644
--- a/api/pkg/responses/response.go
+++ b/api/pkg/responses/response.go
@@ -2,7 +2,7 @@ package responses
type response struct {
Status string `json:"status" example:"success"`
- Message string `json:"message" example:"item created successfully"`
+ Message string `json:"message" example:"Request handled successfully"`
}
// InternalServerError is the response with status code is 500
@@ -27,7 +27,7 @@ type BadRequest struct {
// UnprocessableEntity is the response with status code is 422
type UnprocessableEntity struct {
Status string `json:"status" example:"error"`
- Message string `json:"message" example:"validation errors while sending message"`
+ Message string `json:"message" example:"validation errors while handling request"`
Data map[string][]string `json:"data"`
}