mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 11:22:16 +00: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:
parent
62da3bee1a
commit
9a137faaaf
3 changed files with 135 additions and 0 deletions
|
@ -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"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue