Browse Source

Remove deprecation comment for CreateOrgRepo (#9670)

Remove mistakenly added `deprecated: true` swagger comment from the `/orgs/{orgr}/repos` handler
tags/v1.10.5
Ryan 5 years ago committed by techknowlogick
parent
commit
438e159d04
  1. 1
      routers/api/v1/repo/repo.go
  2. 1
      templates/swagger/v1_json.tmpl

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

1
templates/swagger/v1_json.tmpl

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

Loading…
Cancel
Save