Added docs for the tree api (#5835)

* Added docs for the tree api

* Updated swagger docs

* Added missing response definition

* Updated swagger docs

* Fixed swagger docs
This commit is contained in:
kolaente
2019-01-24 19:40:54 +01:00
committed by Lauris BH
parent f28e17473c
commit 8a9f5b3b50
3 changed files with 135 additions and 0 deletions

View File

@@ -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"`
}