diff options
author | Marcel Klehr <mklehr@gmx.net> | 2024-05-08 09:20:25 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2024-05-14 11:38:41 +0200 |
commit | ec94a672d72720530ffcfce92f9695d8b9a09e27 (patch) | |
tree | 2c19545ffe0bbbdf49e5f2a5b54f85f86c293ead /core/openapi.json | |
parent | eff862b583450d870f8dd452181ebb6606a519cc (diff) | |
download | nextcloud-server-ec94a672d72720530ffcfce92f9695d8b9a09e27.tar.gz nextcloud-server-ec94a672d72720530ffcfce92f9695d8b9a09e27.zip |
fix(ocs): change /tasktypes response to combine optional and non-optional IO slots
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'core/openapi.json')
-rw-r--r-- | core/openapi.json | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/core/openapi.json b/core/openapi.json index eeb366f3031..3a98e1c1ff2 100644 --- a/core/openapi.json +++ b/core/openapi.json @@ -471,7 +471,8 @@ "required": [ "name", "description", - "type" + "type", + "mandatory" ], "properties": { "name": { @@ -483,6 +484,9 @@ "type": { "type": "integer", "format": "int64" + }, + "mandatory": { + "type": "boolean" } } }, @@ -599,9 +603,7 @@ "name", "description", "inputShape", - "optionalInputShape", - "outputShape", - "optionalOutputShape" + "outputShape" ], "properties": { "name": { @@ -616,23 +618,11 @@ "$ref": "#/components/schemas/TaskProcessingShape" } }, - "optionalInputShape": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TaskProcessingShape" - } - }, "outputShape": { "type": "array", "items": { "$ref": "#/components/schemas/TaskProcessingShape" } - }, - "optionalOutputShape": { - "type": "array", - "items": { - "$ref": "#/components/schemas/TaskProcessingShape" - } } } }, |