Browse Source

Minor typo fix (#10043)

tags/v1.10.5
Andy Harrison 4 years ago
parent
commit
d879353632
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      routers/api/v1/admin/repo.go
  2. 1
    1
      templates/swagger/v1_json.tmpl

+ 1
- 1
routers/api/v1/admin/repo.go View File

func CreateRepo(ctx *context.APIContext, form api.CreateRepoOption) { func CreateRepo(ctx *context.APIContext, form api.CreateRepoOption) {
// swagger:operation POST /admin/users/{username}/repos admin adminCreateRepo // 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: // consumes:
// - application/json // - application/json
// produces: // produces:

+ 1
- 1
templates/swagger/v1_json.tmpl View File

"tags": [ "tags": [
"admin" "admin"
], ],
"summary": "Create a repository on behalf a user",
"summary": "Create a repository on behalf of a user",
"operationId": "adminCreateRepo", "operationId": "adminCreateRepo",
"parameters": [ "parameters": [
{ {

Loading…
Cancel
Save