mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Refactor repo contents API and add "contents-ext" API (#34822)
See the updated swagger document for details.
This commit is contained in:
@@ -331,6 +331,12 @@ type swaggerContentsListResponse struct {
|
||||
Body []api.ContentsResponse `json:"body"`
|
||||
}
|
||||
|
||||
// swagger:response ContentsExtResponse
|
||||
type swaggerContentsExtResponse struct {
|
||||
// in:body
|
||||
Body api.ContentsExtResponse `json:"body"`
|
||||
}
|
||||
|
||||
// FileDeleteResponse
|
||||
// swagger:response FileDeleteResponse
|
||||
type swaggerFileDeleteResponse struct {
|
||||
|
Reference in New Issue
Block a user