From bf43f1cd3b6760ac01399f24bfc7e00940d6dae6 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 9 Jan 2020 17:28:26 +0000 Subject: [PATCH] Remove deprecation comment for CreateOrgRepo 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 ae834beadfeb1..73acc2dcaafca 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 6bad4621969d5..d0e23a460e059 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",