aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/openapi.json
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/files/openapi.json
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/files/openapi.json')
-rw-r--r--apps/files/openapi.json60
1 files changed, 36 insertions, 24 deletions
diff --git a/apps/files/openapi.json b/apps/files/openapi.json
index ea177af8b4f..c897790f205 100644
--- a/apps/files/openapi.json
+++ b/apps/files/openapi.json
@@ -351,10 +351,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
}
}
],
@@ -508,10 +509,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
}
}
],
@@ -670,10 +672,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
}
}
],
@@ -850,10 +853,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
}
}
],
@@ -994,10 +998,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
}
}
],
@@ -1084,10 +1089,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
}
}
],
@@ -1172,10 +1178,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
}
}
],
@@ -1275,10 +1282,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
}
}
],
@@ -1399,10 +1407,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
}
}
],
@@ -1521,10 +1530,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
}
}
],
@@ -1644,10 +1654,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
}
}
],
@@ -1772,10 +1783,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
}
}
],