diff options
author | jld3103 <jld3103yt@gmail.com> | 2023-09-27 10:22:20 +0200 |
---|---|---|
committer | jld3103 <jld3103yt@gmail.com> | 2023-09-27 10:22:20 +0200 |
commit | d7926807ea89bdd687d8bd4d768b2553f0b5d617 (patch) | |
tree | 913d0a47d7fe2233d5f3953b5aacc196c1c7ab90 /apps/federation | |
parent | f134244c90ab4aff3fa7758f8c548ebd89c6a256 (diff) | |
download | nextcloud-server-d7926807ea89bdd687d8bd4d768b2553f0b5d617.tar.gz nextcloud-server-d7926807ea89bdd687d8bd4d768b2553f0b5d617.zip |
Fix OCS-APIRequest header for OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Diffstat (limited to 'apps/federation')
-rw-r--r-- | apps/federation/openapi.json | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/apps/federation/openapi.json b/apps/federation/openapi.json index f6f21d1dfb3..fe72b2d133d 100644 --- a/apps/federation/openapi.json +++ b/apps/federation/openapi.json @@ -85,10 +85,11 @@ { "name": "OCS-APIRequest", "in": "header", + "description": "Required to be true for the API request to pass", "required": true, "schema": { - "type": "string", - "default": "true" + "type": "boolean", + "default": true } } ], @@ -182,10 +183,11 @@ { "name": "OCS-APIRequest", "in": "header", + "description": "Required to be true for the API request to pass", "required": true, "schema": { - "type": "string", - "default": "true" + "type": "boolean", + "default": true } } ], @@ -269,10 +271,11 @@ { "name": "OCS-APIRequest", "in": "header", + "description": "Required to be true for the API request to pass", "required": true, "schema": { - "type": "string", - "default": "true" + "type": "boolean", + "default": true } } ], @@ -364,10 +367,11 @@ { "name": "OCS-APIRequest", "in": "header", + "description": "Required to be true for the API request to pass", "required": true, "schema": { - "type": "string", - "default": "true" + "type": "boolean", + "default": true } } ], |