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>
56 lines
1.2 KiB
Plaintext
56 lines
1.2 KiB
Plaintext
{
|
|
"annotations": {
|
|
"title": "Open new issue",
|
|
"readOnlyHint": false
|
|
},
|
|
"description": "Create a new issue in a GitHub repository.",
|
|
"inputSchema": {
|
|
"properties": {
|
|
"assignees": {
|
|
"description": "Usernames to assign to this issue",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"body": {
|
|
"description": "Issue body content",
|
|
"type": "string"
|
|
},
|
|
"labels": {
|
|
"description": "Labels to apply to this issue",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"milestone": {
|
|
"description": "Milestone number",
|
|
"type": "number"
|
|
},
|
|
"owner": {
|
|
"description": "Repository owner",
|
|
"type": "string"
|
|
},
|
|
"repo": {
|
|
"description": "Repository name",
|
|
"type": "string"
|
|
},
|
|
"title": {
|
|
"description": "Issue title",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "Type of this issue",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"owner",
|
|
"repo",
|
|
"title"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"name": "create_issue"
|
|
} |