Browse Source

Remove deprecation comment for CreateOrgRepo (#9670)

Remove mistakenly added `deprecated: true` swagger comment from the `/orgs/{orgr}/repos` handler
for-closed-social
Ryan 4 years ago
committed by techknowlogick
parent
commit
438e159d04
2 changed files with 0 additions and 2 deletions
  1. +0
    -1
      routers/api/v1/repo/repo.go
  2. +0
    -1
      templates/swagger/v1_json.tmpl

+ 0
- 1
routers/api/v1/repo/repo.go View File

@ -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:

+ 0
- 1
templates/swagger/v1_json.tmpl View File

@ -1154,7 +1154,6 @@
],
"summary": "Create a repository in an organization",
"operationId": "createOrgRepo",
"deprecated": true,
"parameters": [
{
"type": "string",

Loading…
Cancel
Save