aboutsummaryrefslogtreecommitdiffstats
path: root/core/openapi.json
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-09-27 16:38:21 +0200
committerJoas Schilling <coding@schilljs.com>2023-09-28 14:02:18 +0200
commita7018bc5e8f50f3242f3658c2442baa0dd4d1c65 (patch)
treee80c789c39cdac6f5c917e01ae0246d0ac924caf /core/openapi.json
parent1a1514e29655e10b056cee79129b819fb1ebeeeb (diff)
downloadnextcloud-server-a7018bc5e8f50f3242f3658c2442baa0dd4d1c65.tar.gz
nextcloud-server-a7018bc5e8f50f3242f3658c2442baa0dd4d1c65.zip
fix(autocomplete): Fix missing user status on autocomplete endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/openapi.json')
-rw-r--r--core/openapi.json33
1 files changed, 32 insertions, 1 deletions
diff --git a/core/openapi.json b/core/openapi.json
index 4d2b2f5a369..a9c810a790a 100644
--- a/core/openapi.json
+++ b/core/openapi.json
@@ -45,7 +45,38 @@
"type": "string"
},
"status": {
- "type": "string"
+ "oneOf": [
+ {
+ "type": "object",
+ "required": [
+ "status",
+ "message",
+ "icon",
+ "clearAt"
+ ],
+ "properties": {
+ "status": {
+ "type": "string"
+ },
+ "message": {
+ "type": "string",
+ "nullable": true
+ },
+ "icon": {
+ "type": "string",
+ "nullable": true
+ },
+ "clearAt": {
+ "type": "integer",
+ "format": "int64",
+ "nullable": true
+ }
+ }
+ },
+ {
+ "type": "string"
+ }
+ ]
},
"subline": {
"type": "string"