1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Fix swagger docs for /repos/issues (#12069)

Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
Cirno the Strongest
2020-06-27 22:32:28 +02:00
committed by GitHub
parent 2ff585f0da
commit 1fd2beb6e9
2 changed files with 11 additions and 0 deletions

View File

@@ -3776,6 +3776,11 @@
"required": true
},
{
"enum": [
"closed",
"open",
"all"
],
"type": "string",
"description": "whether issue is open or closed",
"name": "state",
@@ -3794,6 +3799,10 @@
"in": "query"
},
{
"enum": [
"issues",
"pulls"
],
"type": "string",
"description": "filter by type (issues / pulls) if set",
"name": "type",