From 438e159d04dc726b7872747d1a05a8ed6b528037 Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 10 Jan 2020 21:54:46 +0000 Subject: [PATCH] Remove deprecation comment for CreateOrgRepo (#9670) Remove mistakenly added `deprecated: true` swagger comment from the `/orgs/{orgr}/repos` handler --- routers/api/v1/repo/repo.go | 1 - templates/swagger/v1_json.tmpl | 1 - 2 files changed, 2 deletions(-) diff --git a/routers/api/v1/repo/repo.go b/routers/api/v1/repo/repo.go index 0dc0b1a72a..2990ccd276 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 6bad462196..d0e23a460e 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",