This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
Fix change introduce by update of go-swagger. (
#1727
)
tags/v1.21.12.1
Antoine GIRARD
Bo-Yi Wu
8 years ago
parent
4e5ee2b67a
commit
976c2a05fa
2 changed files
with
2 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-4
public/swagger.v1.json
+1
-0
routers/api/v1/api.go
+ 1
- 4
public/swagger.v1.json
View File
@@ -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": {
+ 1
- 0
routers/api/v1/api.go
View File
@@ -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.
//
Write
Preview
Loading…
Cancel
Save