summaryrefslogtreecommitdiffstats
path: root/core
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 /core
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 'core')
-rw-r--r--core/openapi.json160
1 files changed, 96 insertions, 64 deletions
diff --git a/core/openapi.json b/core/openapi.json
index 602981351f5..4d2b2f5a369 100644
--- a/core/openapi.json
+++ b/core/openapi.json
@@ -1414,10 +1414,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
}
}
],
@@ -1529,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
}
}
],
@@ -1629,10 +1631,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
}
}
],
@@ -1778,10 +1781,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
}
}
],
@@ -1841,10 +1845,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
}
}
],
@@ -1973,10 +1978,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
}
}
],
@@ -2041,10 +2047,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
}
}
],
@@ -2119,10 +2126,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
}
}
],
@@ -2197,10 +2205,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
}
}
],
@@ -2274,10 +2283,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
}
}
],
@@ -2390,10 +2400,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
}
}
],
@@ -2491,10 +2502,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
}
}
],
@@ -2624,10 +2636,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
}
}
],
@@ -2766,10 +2779,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
}
}
],
@@ -2908,10 +2922,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
}
}
],
@@ -3042,10 +3057,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
}
}
],
@@ -3160,10 +3176,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
}
}
],
@@ -3313,10 +3330,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
}
}
],
@@ -3405,10 +3423,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
}
}
],
@@ -3505,10 +3524,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
}
}
],
@@ -3577,10 +3597,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
}
}
],
@@ -3659,10 +3680,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
}
}
],
@@ -3754,10 +3776,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
}
}
],
@@ -3851,10 +3874,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
}
}
],
@@ -3970,10 +3994,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
}
}
],
@@ -4061,10 +4086,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
}
}
],
@@ -4184,10 +4210,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
}
}
],
@@ -4384,10 +4411,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
}
}
],
@@ -4508,10 +4536,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
}
}
],
@@ -4663,10 +4692,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
}
}
],
@@ -4815,10 +4845,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
}
}
],
@@ -4977,10 +5008,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
}
}
],