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
@@ -17,6 +17,15 @@ type apiResponse struct {
Form map[string]string `json:"form"`
}
// DefaultHandler handles the default route
//
// @Summary Default route handler
// @Description Default route handler
// @Tags
// @Accept json
// @Produce json
// @Success 200 {object} apiResponse
// @Router /api/v1/ [get]
func DefaultHandler(w http.ResponseWriter, r *http.Request) {
ctx := r.Context()