diff options
author | jld3103 <jld3103yt@gmail.com> | 2023-02-15 19:13:57 +0100 |
---|---|---|
committer | jld3103 <jld3103yt@gmail.com> | 2023-07-04 15:47:22 +0200 |
commit | 6f9cf8817c99ba3701ae075c80fd5ca740f57d19 (patch) | |
tree | 0600a3a94b9527b5582d8355adeb2a3cecde81ab /apps/user_status/openapi.json | |
parent | 2c71a77f4bd35bf68674be8b0fcff6f9f3c42200 (diff) | |
download | nextcloud-server-6f9cf8817c99ba3701ae075c80fd5ca740f57d19.tar.gz nextcloud-server-6f9cf8817c99ba3701ae075c80fd5ca740f57d19.zip |
user_status: Add OpenAPI spec
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'apps/user_status/openapi.json')
-rw-r--r-- | apps/user_status/openapi.json | 30 |
1 files changed, 11 insertions, 19 deletions
diff --git a/apps/user_status/openapi.json b/apps/user_status/openapi.json index 08eddd47bb3..8629256942d 100644 --- a/apps/user_status/openapi.json +++ b/apps/user_status/openapi.json @@ -740,10 +740,7 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": { - "type": "object", - "additionalProperties": true - } + "data": {} } } } @@ -811,8 +808,12 @@ "$ref": "#/components/schemas/OCSMeta" }, "data": { - "$ref": "#/components/schemas/Private", - "nullable": true + "oneOf": [ + { + "$ref": "#/components/schemas/Private" + }, + {} + ] } } } @@ -890,7 +891,7 @@ "/ocs/v2.php/apps/user_status/api/v1/heartbeat": { "put": { "operationId": "heartbeat-heartbeat", - "summary": "Keep the current status alive", + "summary": "Keep the status alive", "tags": [ "heartbeat" ], @@ -973,10 +974,7 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": { - "type": "object", - "additionalProperties": true - } + "data": {} } } } @@ -1004,10 +1002,7 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": { - "type": "object", - "additionalProperties": true - } + "data": {} } } } @@ -1035,10 +1030,7 @@ "meta": { "$ref": "#/components/schemas/OCSMeta" }, - "data": { - "type": "object", - "additionalProperties": true - } + "data": {} } } } |