Sfoglia il codice sorgente

Remove deprecation comment for CreateOrgRepo (#9670)

Remove mistakenly added `deprecated: true` swagger comment from the `/orgs/{orgr}/repos` handler
tags/v1.10.5
Ryan 4 anni fa
parent
commit
438e159d04
2 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  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 Vedi 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 Vedi File

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

Loading…
Annulla
Salva