summaryrefslogtreecommitdiffstats
path: root/core/openapi.json
diff options
context:
space:
mode:
Diffstat (limited to 'core/openapi.json')
-rw-r--r--core/openapi.json30
1 files changed, 26 insertions, 4 deletions
diff --git a/core/openapi.json b/core/openapi.json
index c5de93838a1..2314c0df413 100644
--- a/core/openapi.json
+++ b/core/openapi.json
@@ -430,7 +430,14 @@
},
"status": {
"type": "integer",
- "format": "int64"
+ "format": "int64",
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4
+ ]
},
"userId": {
"type": "string",
@@ -476,7 +483,14 @@
},
"status": {
"type": "integer",
- "format": "int64"
+ "format": "int64",
+ "enum": [
+ 0,
+ 1,
+ 2,
+ 3,
+ 4
+ ]
},
"userId": {
"type": "string",
@@ -4080,8 +4094,16 @@
"in": "query",
"description": "Offset for searching",
"schema": {
- "type": "string",
- "nullable": true
+ "nullable": true,
+ "oneOf": [
+ {
+ "type": "integer",
+ "format": "int64"
+ },
+ {
+ "type": "string"
+ }
+ ]
}
},
{