Skip to content

Commit 0839b96

Browse files
Grammar fix
Signed-off-by: David Svantesson <[email protected]>
1 parent 5a87bab commit 0839b96

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

routers/api/v1/repo/topic.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ func HasTopic(ctx *context.APIContext) {
112112
func AddTopic(ctx *context.APIContext) {
113113
// swagger:operation PUT /repos/{owner}/{repo}/topics/{topic} repository repoAddTopíc
114114
// ---
115-
// summary: Add a topic from a repository
115+
// summary: Add a topic to a repository
116116
// produces:
117117
// - application/json
118118
// parameters:
@@ -160,7 +160,7 @@ func AddTopic(ctx *context.APIContext) {
160160
func DeleteTopic(ctx *context.APIContext) {
161161
// swagger:operation DELETE /repos/{owner}/{repo}/topics/{topic} repository repoDeleteTopic
162162
// ---
163-
// summary: delete a topic from a repository
163+
// summary: Delete a topic from a repository
164164
// produces:
165165
// - application/json
166166
// parameters:

templates/swagger/v1_json.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5470,7 +5470,7 @@
54705470
"tags": [
54715471
"repository"
54725472
],
5473-
"summary": "Add a topic from a repository",
5473+
"summary": "Add a topic to a repository",
54745474
"operationId": "repoAddTopíc",
54755475
"parameters": [
54765476
{
@@ -5508,7 +5508,7 @@
55085508
"tags": [
55095509
"repository"
55105510
],
5511-
"summary": "delete a topic from a repository",
5511+
"summary": "Delete a topic from a repository",
55125512
"operationId": "repoDeleteTopic",
55135513
"parameters": [
55145514
{

0 commit comments

Comments
 (0)