mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-19 00:10:15 +00:00
parent
738285a4aa
commit
cd96dee982
17 changed files with 963 additions and 335 deletions
|
@ -197,11 +197,18 @@ type swaggerFileResponse struct {
|
|||
Body api.FileResponse `json:"body"`
|
||||
}
|
||||
|
||||
// FileContentResponse
|
||||
// swagger:response FileContentResponse
|
||||
type swaggerFileContentResponse struct {
|
||||
// ContentsResponse
|
||||
// swagger:response ContentsResponse
|
||||
type swaggerContentsResponse struct {
|
||||
//in: body
|
||||
Body api.FileContentResponse `json:"body"`
|
||||
Body api.ContentsResponse `json:"body"`
|
||||
}
|
||||
|
||||
// ContentsListResponse
|
||||
// swagger:response ContentsListResponse
|
||||
type swaggerContentsListResponse struct {
|
||||
// in:body
|
||||
Body []api.ContentsResponse `json:"body"`
|
||||
}
|
||||
|
||||
// FileDeleteResponse
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue