aboutsummaryrefslogtreecommitdiffstats
path: root/routers/api/v1/swagger/repo.go
diff options
context:
space:
mode:
authorkolaente <konrad@kola-entertainments.de>2019-01-24 19:13:30 +0100
committertechknowlogick <matti@mdranta.net>2019-01-24 13:13:30 -0500
commit9a137faaaf02661910fdf9037c995e0a54228ad2 (patch)
tree9b3174605ae86aa902e2b9865883ca0b11edcd9e /routers/api/v1/swagger/repo.go
parent62da3bee1acfee0a3b6d3f386bcf6326c345ea7f (diff)
downloadgitea-9a137faaaf02661910fdf9037c995e0a54228ad2.tar.gz
gitea-9a137faaaf02661910fdf9037c995e0a54228ad2.zip
Added docs for the tree api (#5834)
* Added docs for the tree api * Added missing response definition * Fixed swagger docs
Diffstat (limited to 'routers/api/v1/swagger/repo.go')
-rw-r--r--routers/api/v1/swagger/repo.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/routers/api/v1/swagger/repo.go b/routers/api/v1/swagger/repo.go
index 3e3b0ff5a4..0c9f95f962 100644
--- a/routers/api/v1/swagger/repo.go
+++ b/routers/api/v1/swagger/repo.go
@@ -133,3 +133,10 @@ type swaggerResponseAttachment struct {
//in: body
Body api.Attachment `json:"body"`
}
+
+// GitTreeResponse
+// swagger:response GitTreeResponse
+type swaggerGitTreeResponse struct {
+ //in: body
+ Body api.GitTreeResponse `json:"body"`
+}