From fe142415f82808e06656f65a26e824ddfc836990 Mon Sep 17 00:00:00 2001 From: tobiasehlert Date: Fri, 23 Oct 2026 12:19:34 +0200 Subject: [PATCH] docs(highscores): document canonical category redirects Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- src/webserver.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/webserver.go b/src/webserver.go index 1c130743..4555101e 100644 --- a/src/webserver.go +++ b/src/webserver.go @@ -617,6 +617,8 @@ func tibiaGuildsOverview(c *gin.Context) { // @Param vocation path string true "The vocation" default(all) Enums(all, knights, paladins, sorcerers, druids, monks) extensions(x-example=all) // @Param page path int true "The current page" default(1) minimum(1) extensions(x-example=1) // @Success 200 {object} HighscoresResponse +// @Success 301 "Permanent redirect to the canonical category URL" +// @Header 301 {string} Location "Canonical category URL" // @Failure 400 {object} Information // @Failure 404 {object} Information // @Failure 502 {object} Information