1
0
Fork 0

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"
This commit is contained in:
Lars Hvam 2021-08-01 18:28:05 +02:00 committed by GitHub
parent e3b6526922
commit d686d7b052
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -9651,7 +9651,7 @@
"repository"
],
"summary": "Add a topic to a repository",
"operationId": "repoAddTopíc",
"operationId": "repoAddTopic",
"parameters": [
{
"type": "string",