Skip to content

Commit 4bd082f

Browse files
committed
update swagger docs
1 parent 6d1b97b commit 4bd082f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

templates/swagger/v1_json.tmpl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15241,8 +15241,7 @@
1524115241
"x-go-name": "Title"
1524215242
},
1524315243
"type": {
15244-
"type": "string",
15245-
"x-go-name": "Type"
15244+
"$ref": "#/definitions/NotifySubjectType"
1524615245
},
1524715246
"url": {
1524815247
"type": "string",
@@ -15286,6 +15285,11 @@
1528615285
},
1528715286
"x-go-package": "code.gitea.io/gitea/modules/structs"
1528815287
},
15288+
"NotifySubjectType": {
15289+
"description": "NotifySubjectType represent type of notification subject",
15290+
"type": "string",
15291+
"x-go-package": "code.gitea.io/gitea/modules/structs"
15292+
},
1528915293
"OAuth2Application": {
1529015294
"type": "object",
1529115295
"title": "OAuth2Application represents an OAuth2 application.",

0 commit comments

Comments
 (0)