mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-10 19:12:18 +00:00
7fae3d5db3
Adds REST APIs for project boards for repo, org and user scopes, using as much shared code as possible for all 3 scopes. Fixes: https://github.com/go-gitea/gitea/issues/14299 Fixes: https://github.com/go-gitea/gitea/issues/31769 Fixes: https://github.com/go-gitea/gitea/issues/35921 Replaces: https://github.com/go-gitea/gitea/pull/37518 Replaces: https://github.com/go-gitea/gitea/pull/36008 Replaces: https://github.com/go-gitea/gitea/pull/28111 Replaces: https://github.com/go-gitea/gitea/pull/31768 Signed-off-by: silverwind <me@silverwind.io> Co-authored-by: Supen.Huang <supen.huang@qq.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Ember <ember@mubergacres.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: beardev-in <abhinav.edulakanti@gmail.com>
37 lines
720 B
Go
37 lines
720 B
Go
// Copyright 2026 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package swagger
|
|
|
|
import (
|
|
api "gitea.dev/modules/structs"
|
|
)
|
|
|
|
// Project
|
|
// swagger:response Project
|
|
type swaggerResponseProject struct {
|
|
// in:body
|
|
Body api.Project `json:"body"`
|
|
}
|
|
|
|
// ProjectList
|
|
// swagger:response ProjectList
|
|
type swaggerResponseProjectList struct {
|
|
// in:body
|
|
Body []api.Project `json:"body"`
|
|
}
|
|
|
|
// ProjectColumn
|
|
// swagger:response ProjectColumn
|
|
type swaggerResponseProjectColumn struct {
|
|
// in:body
|
|
Body api.ProjectColumn `json:"body"`
|
|
}
|
|
|
|
// ProjectColumnList
|
|
// swagger:response ProjectColumnList
|
|
type swaggerResponseProjectColumnList struct {
|
|
// in:body
|
|
Body []api.ProjectColumn `json:"body"`
|
|
}
|