aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api/v1/swagger/app.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/v1/swagger/app.go')
-rw-r--r--routers/api/v1/swagger/app.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/routers/api/v1/swagger/app.go b/routers/api/v1/swagger/app.go
new file mode 100644
index 0000000000..8be2c85574
--- /dev/null
+++ b/routers/api/v1/swagger/app.go
@@ -0,0 +1,16 @@
+// Copyright 2020 The Gitea Authors. All rights reserved.
+// Use of this source code is governed by a MIT-style
+// license that can be found in the LICENSE file.
+
+package swagger
+
+import (
+ api "code.gitea.io/gitea/modules/structs"
+)
+
+// OAuth2Application
+// swagger:response OAuth2Application
+type swaggerResponseOAuth2Application struct {
+ // in:body
+ Body api.OAuth2Application `json:"body"`
+}