mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-28 00:17:00 +00:00
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:
parent
e3b6526922
commit
d686d7b052
@ -126,7 +126,7 @@ func UpdateTopics(ctx *context.APIContext) {
|
|||||||
|
|
||||||
// AddTopic adds a topic name to a repo
|
// AddTopic adds a topic name to a repo
|
||||||
func AddTopic(ctx *context.APIContext) {
|
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
|
// summary: Add a topic to a repository
|
||||||
// produces:
|
// produces:
|
||||||
|
@ -9651,7 +9651,7 @@
|
|||||||
"repository"
|
"repository"
|
||||||
],
|
],
|
||||||
"summary": "Add a topic to a repository",
|
"summary": "Add a topic to a repository",
|
||||||
"operationId": "repoAddTopíc",
|
"operationId": "repoAddTopic",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
Loading…
Reference in New Issue
Block a user