aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dashboard
diff options
context:
space:
mode:
authorjld3103 <jld3103yt@gmail.com>2023-09-27 10:22:20 +0200
committerjld3103 <jld3103yt@gmail.com>2023-09-27 10:22:20 +0200
commitd7926807ea89bdd687d8bd4d768b2553f0b5d617 (patch)
tree913d0a47d7fe2233d5f3953b5aacc196c1c7ab90 /apps/dashboard
parentf134244c90ab4aff3fa7758f8c548ebd89c6a256 (diff)
downloadnextcloud-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.json15
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
}
}
],