diff options
author | Joas Schilling <coding@schilljs.com> | 2023-09-27 16:38:21 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-09-28 14:02:18 +0200 |
commit | a7018bc5e8f50f3242f3658c2442baa0dd4d1c65 (patch) | |
tree | e80c789c39cdac6f5c917e01ae0246d0ac924caf /core/openapi.json | |
parent | 1a1514e29655e10b056cee79129b819fb1ebeeeb (diff) | |
download | nextcloud-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.json | 33 |
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" |