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/dashboard | |
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/dashboard')
-rw-r--r-- | apps/dashboard/openapi.json | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/apps/dashboard/openapi.json b/apps/dashboard/openapi.json index ba643d965e5..7cbb959cc7e 100644 --- a/apps/dashboard/openapi.json +++ b/apps/dashboard/openapi.json @@ -191,10 +191,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 } } ], @@ -284,10 +285,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 } } ], @@ -380,10 +382,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 } } ], |