afe8ddb8ca
* feat: add type to issues * test: add `type` test for create and update issues * Generate docs and toolsnaps * Update pkg/github/issues.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Use github ptr --------- Co-authored-by: Pranav RK <pranavrk7@gmail.com> Co-authored-by: Pranav RK <39577726+radar07@users.noreply.github.com> Co-authored-by: Alon Kenneth <11458012+akenneth@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
68 lines
1.4 KiB
Plaintext
68 lines
1.4 KiB
Plaintext
{
|
|
"annotations": {
|
|
"title": "Edit issue",
|
|
"readOnlyHint": false
|
|
},
|
|
"description": "Update an existing issue in a GitHub repository.",
|
|
"inputSchema": {
|
|
"properties": {
|
|
"assignees": {
|
|
"description": "New assignees",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"body": {
|
|
"description": "New description",
|
|
"type": "string"
|
|
},
|
|
"issue_number": {
|
|
"description": "Issue number to update",
|
|
"type": "number"
|
|
},
|
|
"labels": {
|
|
"description": "New labels",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"milestone": {
|
|
"description": "New milestone number",
|
|
"type": "number"
|
|
},
|
|
"owner": {
|
|
"description": "Repository owner",
|
|
"type": "string"
|
|
},
|
|
"repo": {
|
|
"description": "Repository name",
|
|
"type": "string"
|
|
},
|
|
"state": {
|
|
"description": "New state",
|
|
"enum": [
|
|
"open",
|
|
"closed"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"title": {
|
|
"description": "New title",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "New issue type",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"owner",
|
|
"repo",
|
|
"issue_number"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"name": "update_issue"
|
|
} |