summaryrefslogtreecommitdiffstats
path: root/templates/swagger/v1_json.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/swagger/v1_json.tmpl')
-rw-r--r--templates/swagger/v1_json.tmpl10
1 files changed, 7 insertions, 3 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 6792f7444b..6c0d8c1b32 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -13231,6 +13231,12 @@
},
"x-go-package": "code.gitea.io/gitea/modules/structs"
},
+ "GitServiceType": {
+ "description": "GitServiceType represents a git service",
+ "type": "integer",
+ "format": "int64",
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
+ },
"GitTreeResponse": {
"description": "GitTreeResponse returns a git tree",
"type": "object",
@@ -13658,9 +13664,7 @@
"x-go-name": "RepoName"
},
"service": {
- "type": "integer",
- "format": "int64",
- "x-go-name": "Service"
+ "$ref": "#/definitions/GitServiceType"
},
"uid": {
"type": "integer",