feat: added swaggo support

This commit is contained in:
Robin Dittmar
2026-07-28 14:41:49 +02:00
parent cb14374d09
commit 2e1fbc6e68
7 changed files with 80 additions and 6 deletions
+9
View File
@@ -10,6 +10,15 @@ type healthResponse struct {
Status string `json:"status"`
}
// HealthHandler handles the health check route
//
// @Summary Health check
// @Description Health check reports the status of the API
// @Tags Health
// @Accept json
// @Produce json
// @Success 200 {object} healthResponse
// @Router /health [get]
func HealthHandler(w http.ResponseWriter, r *http.Request) {
ctx := r.Context()