summaryrefslogtreecommitdiffstats
path: root/swagger.v1.json
diff options
context:
space:
mode:
authorCyborus <cyborus@cyborus.xyz>2024-05-14 17:36:44 +0200
committerCyborus <cyborus@cyborus.xyz>2024-05-14 17:36:44 +0200
commited310f70015cc2a9d634aca6a8787b9a865fe0eb (patch)
tree3688f8808ce0f03dc2e2d90f5befab605a8fb88c /swagger.v1.json
parentMerge pull request 'feat: implement ssh_url deserialization to `url::Url` ins... (diff)
downloadforgejo-api-ed310f70015cc2a9d634aca6a8787b9a865fe0eb.tar.xz
forgejo-api-ed310f70015cc2a9d634aca6a8787b9a865fe0eb.zip
make issue and pr state an enum
Diffstat (limited to 'swagger.v1.json')
-rw-r--r--swagger.v1.json4
1 files changed, 4 insertions, 0 deletions
diff --git a/swagger.v1.json b/swagger.v1.json
index dcc3709..0de864a 100644
--- a/swagger.v1.json
+++ b/swagger.v1.json
@@ -21435,6 +21435,10 @@
"StateType": {
"description": "StateType issue state type",
"type": "string",
+ "enum": [
+ "open",
+ "closed"
+ ],
"x-go-package": "code.gitea.io/gitea/modules/structs"
},
"StopWatch": {