diff options
Diffstat (limited to 'routers/api/v1/swagger/nodeinfo.go')
-rw-r--r-- | routers/api/v1/swagger/nodeinfo.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/routers/api/v1/swagger/nodeinfo.go b/routers/api/v1/swagger/nodeinfo.go new file mode 100644 index 0000000000..c1ecf3a3f3 --- /dev/null +++ b/routers/api/v1/swagger/nodeinfo.go @@ -0,0 +1,16 @@ +// Copyright 2021 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" +) + +// NodeInfo +// swagger:response NodeInfo +type swaggerResponseNodeInfo struct { + // in:body + Body api.NodeInfo `json:"body"` +} |