aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authortechknowlogick <hello@techknowlogick.com>2019-05-10 16:49:29 -0400
committerGitHub <noreply@github.com>2019-05-10 16:49:29 -0400
commit1dc401635b8acb20f4222216ad0828ef39617989 (patch)
treeff7564a7d64885edb0038d34f0378c47ee301819 /templates
parentd64a646c0a9c4ea1ca7f6213e4d353132cb735c1 (diff)
downloadgitea-1dc401635b8acb20f4222216ad0828ef39617989.tar.gz
gitea-1dc401635b8acb20f4222216ad0828ef39617989.zip
update sdk to latest (#6903)
Diffstat (limited to 'templates')
-rw-r--r--templates/swagger/v1_json.tmpl17
1 files changed, 13 insertions, 4 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index bc095f7237..198c18919e 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -7126,6 +7126,9 @@
"type": "string",
"x-go-name": "UserName"
},
+ "visibility": {
+ "$ref": "#/definitions/VisibleType"
+ },
"website": {
"type": "string",
"x-go-name": "Website"
@@ -8595,6 +8598,9 @@
"type": "string",
"x-go-name": "UserName"
},
+ "visibility": {
+ "$ref": "#/definitions/VisibleType"
+ },
"website": {
"type": "string",
"x-go-name": "Website"
@@ -9447,6 +9453,12 @@
},
"x-go-package": "code.gitea.io/gitea/models"
},
+ "VisibleType": {
+ "description": "VisibleType defines the visibility (Organization only)",
+ "type": "integer",
+ "format": "int64",
+ "x-go-package": "code.gitea.io/gitea/vendor/code.gitea.io/sdk/gitea"
+ },
"WatchInfo": {
"description": "WatchInfo represents an API watch status of one repository",
"type": "object",
@@ -9484,9 +9496,6 @@
"AccessToken": {
"description": "AccessToken represents an API access token.",
"headers": {
- "hashed_token": {
- "type": "string"
- },
"id": {
"type": "integer",
"format": "int64"
@@ -9494,7 +9503,7 @@
"name": {
"type": "string"
},
- "token": {
+ "sha1": {
"type": "string"
},
"token_last_eight": {