Skip to content

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

Fix documentation

Acho Arnold7081feaa68ee
diff --git a/api/pkg/handlers/heartbeat_handler.go b/api/pkg/handlers/heartbeat_handler.go
index babd920b..ea982df2 100644
--- a/api/pkg/handlers/heartbeat_handler.go
+++ b/api/pkg/handlers/heartbeat_handler.go
@@ -44,7 +44,7 @@ func (h *HeartbeatHandler) RegisterRoutes(router fiber.Router) {
// Index returns the heartbeats of a phone number
// @Summary Get heartbeats of an owner phone number
// @Description Get the last time a phone number requested for outstanding messages. It will be sorted by timestamp in descending order.
-// @Tags Messages
+// @Tags Heartbeats
// @Accept json
// @Produce json
// @Param owner query string true "the owner's phone number" default(+18005550199)
diff --git a/api/pkg/handlers/message_thread_handler.go b/api/pkg/handlers/message_thread_handler.go
index 87a83e86..0411747f 100644
--- a/api/pkg/handlers/message_thread_handler.go
+++ b/api/pkg/handlers/message_thread_handler.go
@@ -44,7 +44,7 @@ func (h *MessageThreadHandler) RegisterRoutes(router fiber.Router) {
// Index returns message threads for a phone number
// @Summary Get message threads for a phone number
// @Description Get list of contacts which a phone number has communicated with (threads). It will be sorted by timestamp in descending order.
-// @Tags MessageThreads
+// @Tags Message Threads
// @Accept json
// @Produce json
// @Param owner query string true "owner phone number" default(+18005550199)