aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api
diff options
context:
space:
mode:
authorLars Hvam <larshp@hotmail.com>2021-08-01 18:28:05 +0200
committerGitHub <noreply@github.com>2021-08-01 18:28:05 +0200
commitd686d7b05231ee43d6901317208c1dd851dacfa9 (patch)
tree5691c1913fc0acd9186d9be10b5b5a76998339ba /routers/api
parente3b6526922367db57698025f4e11066f3ecff32c (diff)
downloadgitea-d686d7b05231ee43d6901317208c1dd851dacfa9.tar.gz
gitea-d686d7b05231ee43d6901317208c1dd851dacfa9.zip
Fix swagger doc by rename repoAddTopíc to repoAddTopic (#16580)
* Swagger API: rename repoAddTopíc to repoAddTopic This changes the operationId to only contain 7 bit ascii, note "í" instead of "i"
Diffstat (limited to 'routers/api')
-rw-r--r--routers/api/v1/repo/topic.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/repo/topic.go b/routers/api/v1/repo/topic.go
index 14712f536f..7646eaf82e 100644
--- a/routers/api/v1/repo/topic.go
+++ b/routers/api/v1/repo/topic.go
@@ -126,7 +126,7 @@ func UpdateTopics(ctx *context.APIContext) {
// AddTopic adds a topic name to a repo
func AddTopic(ctx *context.APIContext) {
- // swagger:operation PUT /repos/{owner}/{repo}/topics/{topic} repository repoAddTopíc
+ // swagger:operation PUT /repos/{owner}/{repo}/topics/{topic} repository repoAddTopic
// ---
// summary: Add a topic to a repository
// produces: