re-Generate swagger.json (#1722)

changes introduced to repo format by : go-gitea/gitea#1687 go-gitea/go-sdk#58  go-gitea/gitea#1668 go-gitea/go-sdk#56
This commit is contained in:
Antoine GIRARD 2017-05-14 11:37:15 +02:00 committed by Bo-Yi Wu
parent e214728725
commit 91417e9715

View file

@ -913,6 +913,10 @@
"type": "string", "type": "string",
"x-go-name": "Description" "x-go-name": "Description"
}, },
"empty": {
"type": "boolean",
"x-go-name": "Empty"
},
"fork": { "fork": {
"type": "boolean", "type": "boolean",
"x-go-name": "Fork" "x-go-name": "Fork"
@ -952,6 +956,10 @@
"x-go-name": "Owner", "x-go-name": "Owner",
"$ref": "#/definitions/User" "$ref": "#/definitions/User"
}, },
"parent": {
"x-go-name": "Parent",
"$ref": "#/definitions/Repository"
},
"permissions": { "permissions": {
"x-go-name": "Permissions", "x-go-name": "Permissions",
"$ref": "#/definitions/Permission" "$ref": "#/definitions/Permission"
@ -960,6 +968,11 @@
"type": "boolean", "type": "boolean",
"x-go-name": "Private" "x-go-name": "Private"
}, },
"size": {
"type": "integer",
"format": "int64",
"x-go-name": "Size"
},
"ssh_url": { "ssh_url": {
"type": "string", "type": "string",
"x-go-name": "SSHURL" "x-go-name": "SSHURL"
@ -1116,6 +1129,9 @@
"description": { "description": {
"type": "string" "type": "string"
}, },
"empty": {
"type": "boolean"
},
"fork": { "fork": {
"type": "boolean" "type": "boolean"
}, },
@ -1144,10 +1160,15 @@
"format": "int64" "format": "int64"
}, },
"owner": {}, "owner": {},
"parent": {},
"permissions": {}, "permissions": {},
"private": { "private": {
"type": "boolean" "type": "boolean"
}, },
"size": {
"type": "integer",
"format": "int64"
},
"ssh_url": { "ssh_url": {
"type": "string" "type": "string"
}, },