This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
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
480ef9d410
commit
438e159d04
2 changed files
with
0 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
routers/api/v1/repo/repo.go
+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",
Write
Preview
Loading…
Cancel
Save