diff --git a/routers/api/v1/repo/repo.go b/routers/api/v1/repo/repo.go index 0dc0b1a72..2990ccd27 100644 --- a/routers/api/v1/repo/repo.go +++ b/routers/api/v1/repo/repo.go @@ -319,7 +319,6 @@ func CreateOrgRepo(ctx *context.APIContext, opt api.CreateRepoOption) { // swagger:operation POST /orgs/{org}/repos organization createOrgRepo // --- // summary: Create a repository in an organization - // deprecated: true // consumes: // - application/json // produces: diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 6bad46219..d0e23a460 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -1154,7 +1154,6 @@ ], "summary": "Create a repository in an organization", "operationId": "createOrgRepo", - "deprecated": true, "parameters": [ { "type": "string",