aboutsummaryrefslogtreecommitdiffstats
path: root/apps/weather_status
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/weather_status
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/weather_status')
-rw-r--r--apps/weather_status/openapi.json35
1 files changed, 21 insertions, 14 deletions
diff --git a/apps/weather_status/openapi.json b/apps/weather_status/openapi.json
index cc86ab80db9..4d00f0a5e2b 100644
--- a/apps/weather_status/openapi.json
+++ b/apps/weather_status/openapi.json
@@ -339,10 +339,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
}
}
],
@@ -407,10 +408,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
}
}
],
@@ -492,10 +494,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
}
}
],
@@ -602,10 +605,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
}
}
],
@@ -687,10 +691,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
}
}
],
@@ -788,10 +793,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
}
}
],
@@ -861,10 +867,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
}
}
],