Browse Source

Remove deprecation comment for CreateOrgRepo (#9670)

Remove mistakenly added `deprecated: true` swagger comment from the `/orgs/{orgr}/repos` handler
tags/v1.21.12.1
Ryan techknowlogick 5 years ago
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 // swagger:operation POST /orgs/{org}/repos organization createOrgRepo
// --- // ---
// summary: Create a repository in an organization // summary: Create a repository in an organization
// deprecated: true
// consumes: // consumes:
// - application/json // - application/json
// produces: // produces:


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

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


Loading…
Cancel
Save