diff options
-rw-r--r-- | routers/api/v1/admin/repo.go | 2 | ||||
-rw-r--r-- | templates/swagger/v1_json.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/routers/api/v1/admin/repo.go b/routers/api/v1/admin/repo.go index c3ca525510..73c7d740f8 100644 --- a/routers/api/v1/admin/repo.go +++ b/routers/api/v1/admin/repo.go @@ -15,7 +15,7 @@ import ( func CreateRepo(ctx *context.APIContext, form api.CreateRepoOption) { // swagger:operation POST /admin/users/{username}/repos admin adminCreateRepo // --- - // summary: Create a repository on behalf a user + // summary: Create a repository on behalf of a user // consumes: // - application/json // produces: diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 11af8e035b..c5fa6d6ad8 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -335,7 +335,7 @@ "tags": [ "admin" ], - "summary": "Create a repository on behalf a user", + "summary": "Create a repository on behalf of a user", "operationId": "adminCreateRepo", "parameters": [ { |