summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan <ryan@rshaw.me>2020-01-10 21:54:46 +0000
committertechknowlogick <techknowlogick@gitea.io>2020-01-10 16:54:46 -0500
commit438e159d04dc726b7872747d1a05a8ed6b528037 (patch)
tree5207f45babf31ac3177168d3d4940a4026745a6c
parent480ef9d410a5c94c0ce4d16b922be3b1114d620c (diff)
downloadgitea-438e159d04dc726b7872747d1a05a8ed6b528037.tar.gz
gitea-438e159d04dc726b7872747d1a05a8ed6b528037.zip
Remove deprecation comment for CreateOrgRepo (#9670)
Remove mistakenly added `deprecated: true` swagger comment from the `/orgs/{orgr}/repos` handler
-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",