summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/swagger/v1_json.tmpl8
1 files changed, 6 insertions, 2 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 40dddb06a0..dfd08bcc68 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -15241,8 +15241,7 @@
"x-go-name": "Title"
},
"type": {
- "type": "string",
- "x-go-name": "Type"
+ "$ref": "#/definitions/NotifySubjectType"
},
"url": {
"type": "string",
@@ -15286,6 +15285,11 @@
},
"x-go-package": "code.gitea.io/gitea/modules/structs"
},
+ "NotifySubjectType": {
+ "description": "NotifySubjectType represent type of notification subject",
+ "type": "string",
+ "x-go-package": "code.gitea.io/gitea/modules/structs"
+ },
"OAuth2Application": {
"type": "object",
"title": "OAuth2Application represents an OAuth2 application.",