mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-21 01:14:31 +08:00
Fix change introduce by update of go-swagger. (#1727)
This commit is contained in:
parent
4e5ee2b67a
commit
976c2a05fa
5
public/swagger.v1.json
vendored
5
public/swagger.v1.json
vendored
@ -969,15 +969,12 @@
|
||||
"x-go-name": "OpenIssues"
|
||||
},
|
||||
"owner": {
|
||||
"x-go-name": "Owner",
|
||||
"$ref": "#/definitions/User"
|
||||
},
|
||||
"parent": {
|
||||
"x-go-name": "Parent",
|
||||
"$ref": "#/definitions/Repository"
|
||||
"type": "object"
|
||||
},
|
||||
"permissions": {
|
||||
"x-go-name": "Permissions",
|
||||
"$ref": "#/definitions/Permission"
|
||||
},
|
||||
"private": {
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
//go:generate swagger generate spec -o ../../../public/swagger.v1.json
|
||||
//go:generate sed -i "s;\".ref\": \"#/definitions/GPGKey\";\"type\": \"object\";g" ../../../public/swagger.v1.json
|
||||
//go:generate sed -i "s;^ \".ref\": \"#/definitions/Repository\"; \"type\": \"object\";g" ../../../public/swagger.v1.json
|
||||
|
||||
// Package v1 Gitea API.
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user