Parcourir la source

Minor typo fix (#10043)

tags/v1.10.5
Andy Harrison il y a 4 ans
Parent
révision
d879353632
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  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 Voir le fichier

@@ -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:

+ 1
- 1
templates/swagger/v1_json.tmpl Voir le fichier

@@ -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": [
{

Chargement…
Annuler
Enregistrer