aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api/v1/swagger/settings.go
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2020-09-05 09:43:06 +0200
committerGitHub <noreply@github.com>2020-09-05 08:43:06 +0100
commitdba5d82f86dc9dc757404f03bf80ebbe28a5a0b1 (patch)
treeb59de4d8745ff000d3e4fc9c581ede5abaae6bdf /routers/api/v1/swagger/settings.go
parentbab1204db4c6f0b3346a84b3c37fd6386fcee48d (diff)
downloadgitea-dba5d82f86dc9dc757404f03bf80ebbe28a5a0b1.tar.gz
gitea-dba5d82f86dc9dc757404f03bf80ebbe28a5a0b1.zip
Expose Attachemnt Settings by API (#12514)
close #12368
Diffstat (limited to 'routers/api/v1/swagger/settings.go')
-rw-r--r--routers/api/v1/swagger/settings.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/routers/api/v1/swagger/settings.go b/routers/api/v1/swagger/settings.go
index ad0d891dde..4bf153cb9c 100644
--- a/routers/api/v1/swagger/settings.go
+++ b/routers/api/v1/swagger/settings.go
@@ -26,3 +26,10 @@ type swaggerResponseGeneralAPISettings struct {
// in:body
Body api.GeneralAPISettings `json:"body"`
}
+
+// GeneralAttachmentSettings
+// swagger:response GeneralAttachmentSettings
+type swaggerResponseGeneralAttachmentSettings struct {
+ // in:body
+ Body api.GeneralAttachmentSettings `json:"body"`
+}