mirror of
https://gitee.com/gitea/gitea
synced 2025-12-31 04:36:35 +08:00
Added docs for the tree api (#5834)
* Added docs for the tree api * Added missing response definition * Fixed swagger docs
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user