mirror of
https://github.com/go-gitea/gitea
synced 2025-12-07 13:28:25 +00:00
docs: create swagger api documentation for endpoints
This commit is contained in:
@@ -208,4 +208,19 @@ type swaggerParameterBodies struct {
|
||||
|
||||
// in:body
|
||||
CreateProjectOption api.CreateProjectOption
|
||||
|
||||
// in:body
|
||||
CreateProjectColumnOption api.CreateProjectColumnOption
|
||||
|
||||
// in:body
|
||||
EditProjectColumnOption api.EditProjectColumnOption
|
||||
|
||||
// in:body
|
||||
MovedColumnsOption api.MovedColumnsOption
|
||||
|
||||
// in:body
|
||||
MovedIssuesOption api.MovedIssuesOption
|
||||
|
||||
// in:body
|
||||
UpdateIssuesOption api.UpdateIssuesOption
|
||||
}
|
||||
|
||||
@@ -13,3 +13,17 @@ type swaggerResponseProject struct {
|
||||
// in:body
|
||||
Body api.Project `json:"body"`
|
||||
}
|
||||
|
||||
// ProjectList
|
||||
// swagger:response ProjectList
|
||||
type swaggerResponseProjectList struct {
|
||||
// in:body
|
||||
Body []api.Project `json:"body"`
|
||||
}
|
||||
|
||||
// Column
|
||||
// swagger:response Column
|
||||
type swaggerResponseColumn struct {
|
||||
// in:body
|
||||
Body api.Column `json:"body"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user