0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-04 05:45:23 +02:00

update swagger

This commit is contained in:
Lunny Xiao 2026-04-02 20:59:47 -07:00
parent 5c141d3c9b
commit d2dbc96895
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A

View File

@ -13947,6 +13947,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"
@ -13983,11 +14039,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": {
@ -22539,22 +22596,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",
@ -31759,7 +31800,7 @@
"parameterBodies": {
"description": "parameterBodies",
"schema": {
"$ref": "#/definitions/AddIssueToProjectColumnOption"
"$ref": "#/definitions/EditProjectColumnOption"
}
},
"redirect": {