Swagger docs

This commit is contained in:
2024-10-20 16:16:50 -06:00
parent 3cbd0d1806
commit e2e736e500
12 changed files with 667 additions and 1 deletions

View File

@ -6,6 +6,14 @@ import (
"github.com/labstack/echo/v4"
)
// Ping godoc
// @Summary Ping the server
// @Description Get a pong response
// @Tags ping
// @Accept json
// @Produce json
// @Success 200 {string} string "Pong!"
// @Router /ping [get]
func Ping(c echo.Context) error {
return c.String(http.StatusOK, "Pong!")
}