aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--routers/api/v1/repo/repo.go1
-rw-r--r--templates/swagger/v1_json.tmpl1
2 files changed, 0 insertions, 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",