Update API routes in godoc

This commit is contained in:
2025-10-26 16:35:42 +01:00
parent dd40b153d8
commit 59c954811d
4 changed files with 20 additions and 20 deletions

View File

@@ -13,7 +13,7 @@ import (
// @Produces text/plain
// @Success 200 {string} string "Version information"
// @Failure 500 {string} string "Internal Server Error"
// @Router /version [get]
// @Router /api/v1/version [get]
func (h *Handler) VersionHandler() http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
versionInfo := fmt.Sprintf("Version: %s\nCommit: %s\nBuild Time: %s\n", h.cfg.Version, h.cfg.CommitHash, h.cfg.BuildTime)