update swagger

This commit is contained in:
Lunny Xiao
2026-04-02 20:59:47 -07:00
committed by beardev-in
parent 5b663c413e
commit 815fe10eab

View File

@@ -13729,6 +13729,62 @@
}
},
"/repos/{owner}/{repo}/projects/columns/{id}/issues": {
"get": {
"produces": [
"application/json"
],
"tags": [
"repository"
],
"summary": "List issues in a project column",
"operationId": "repoListProjectColumnIssues",
"parameters": [
{
"type": "string",
"description": "owner of the repo",
"name": "owner",
"in": "path",
"required": true
},
{
"type": "string",
"description": "name of the repo",
"name": "repo",
"in": "path",
"required": true
},
{
"type": "integer",
"format": "int64",
"description": "id of the column",
"name": "id",
"in": "path",
"required": true
},
{
"type": "integer",
"description": "page number of results to return (1-based)",
"name": "page",
"in": "query"
},
{
"type": "integer",
"description": "page size of results",
"name": "limit",
"in": "query"
}
],
"responses": {
"200": {
"$ref": "#/responses/IssueList"
},
"404": {
"$ref": "#/responses/notFound"
}
}
}
},
"/repos/{owner}/{repo}/projects/columns/{id}/issues/{issue_id}": {
"post": {
"consumes": [
"application/json"
@@ -13765,11 +13821,12 @@
"required": true
},
{
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/AddIssueToProjectColumnOption"
}
"type": "integer",
"format": "int64",
"description": "id of the issue",
"name": "issue_id",
"in": "path",
"required": true
}
],
"responses": {
@@ -22263,22 +22320,6 @@
},
"x-go-package": "code.gitea.io/gitea/modules/structs"
},
"AddIssueToProjectColumnOption": {
"description": "AddIssueToProjectColumnOption represents options for adding an issue to a project column",
"type": "object",
"required": [
"issue_id"
],
"properties": {
"issue_id": {
"description": "Issue ID to add to the column",
"type": "integer",
"format": "int64",
"x-go-name": "IssueID"
}
},
"x-go-package": "code.gitea.io/gitea/modules/structs"
},
"AddTimeOption": {
"description": "AddTimeOption options for adding time to an issue",
"type": "object",
@@ -31388,7 +31429,7 @@
"parameterBodies": {
"description": "parameterBodies",
"schema": {
"$ref": "#/definitions/AddIssueToProjectColumnOption"
"$ref": "#/definitions/EditProjectColumnOption"
}
},
"redirect": {