Skip to content

Commit 438e159

Browse files
ryan-shawtechknowlogick
authored andcommitted
Remove deprecation comment for CreateOrgRepo (#9670)
Remove mistakenly added `deprecated: true` swagger comment from the `/orgs/{orgr}/repos` handler
1 parent 480ef9d commit 438e159

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

routers/api/v1/repo/repo.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,6 @@ func CreateOrgRepo(ctx *context.APIContext, opt api.CreateRepoOption) {
319319
// swagger:operation POST /orgs/{org}/repos organization createOrgRepo
320320
// ---
321321
// summary: Create a repository in an organization
322-
// deprecated: true
323322
// consumes:
324323
// - application/json
325324
// produces:

templates/swagger/v1_json.tmpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1154,7 +1154,6 @@
11541154
],
11551155
"summary": "Create a repository in an organization",
11561156
"operationId": "createOrgRepo",
1157-
"deprecated": true,
11581157
"parameters": [
11591158
{
11601159
"type": "string",

0 commit comments

Comments
 (0)