diff options
author | Andy Harrison <aharrison@gmail.com> | 2020-01-28 13:45:39 -0500 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2020-01-28 18:45:39 +0000 |
commit | d879353632c5220c8ac0e3831311ebfe7cf357fe (patch) | |
tree | 3ba67958d28029dd512d9b311cfc956dfd667949 | |
parent | 28216bde46a8cf415755ca41f3d58843eeb45e7c (diff) | |
download | gitea-d879353632c5220c8ac0e3831311ebfe7cf357fe.tar.gz gitea-d879353632c5220c8ac0e3831311ebfe7cf357fe.zip |
Minor typo fix (#10043)
-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": [ { |