Skip to content

Commit 7081fea

Browse files
committed
Fix documentation
1 parent 2cf1ced commit 7081fea

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

api/pkg/handlers/heartbeat_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func (h *HeartbeatHandler) RegisterRoutes(router fiber.Router) {
4444
// Index returns the heartbeats of a phone number
4545
// @Summary Get heartbeats of an owner phone number
4646
// @Description Get the last time a phone number requested for outstanding messages. It will be sorted by timestamp in descending order.
47-
// @Tags Messages
47+
// @Tags Heartbeats
4848
// @Accept json
4949
// @Produce json
5050
// @Param owner query string true "the owner's phone number" default(+18005550199)

api/pkg/handlers/message_thread_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func (h *MessageThreadHandler) RegisterRoutes(router fiber.Router) {
4444
// Index returns message threads for a phone number
4545
// @Summary Get message threads for a phone number
4646
// @Description Get list of contacts which a phone number has communicated with (threads). It will be sorted by timestamp in descending order.
47-
// @Tags MessageThreads
47+
// @Tags Message Threads
4848
// @Accept json
4949
// @Produce json
5050
// @Param owner query string true "owner phone number" default(+18005550199)

0 commit comments

Comments
 (0)