summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/swagger/nodeinfo.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/v1/swagger/nodeinfo.go')
-rw-r--r--routers/api/v1/swagger/nodeinfo.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/routers/api/v1/swagger/nodeinfo.go b/routers/api/v1/swagger/nodeinfo.go
new file mode 100644
index 0000000..8650dfa
--- /dev/null
+++ b/routers/api/v1/swagger/nodeinfo.go
@@ -0,0 +1,15 @@
+// Copyright 2021 The Gitea Authors. All rights reserved.
+// SPDX-License-Identifier: MIT
+
+package swagger
+
+import (
+ api "code.gitea.io/gitea/modules/structs"
+)
+
+// NodeInfo
+// swagger:response NodeInfo
+type swaggerResponseNodeInfo struct {
+ // in:body
+ Body api.NodeInfo `json:"body"`
+}