diff --git a/routers/api/v1/repo/repo.go b/routers/api/v1/repo/repo.go index 04c6fde453..457f179f39 100644 --- a/routers/api/v1/repo/repo.go +++ b/routers/api/v1/repo/repo.go @@ -85,7 +85,7 @@ func Search(ctx *context.APIContext) { // type: boolean // - name: is_private // in: query - // description: show only pubic, private or all repositories (defaults to all) + // description: show only public, private or all repositories (defaults to all) // type: boolean // - name: template // in: query diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 7ff9825bbb..1399442676 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -4645,7 +4645,7 @@ }, { "type": "boolean", - "description": "show only pubic, private or all repositories (defaults to all)", + "description": "show only public, private or all repositories (defaults to all)", "name": "is_private", "in": "query" },