From d7926807ea89bdd687d8bd4d768b2553f0b5d617 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Wed, 27 Sep 2023 10:22:20 +0200 Subject: Fix OCS-APIRequest header for OpenAPI Signed-off-by: jld3103 --- apps/files_reminders/openapi.json | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'apps/files_reminders/openapi.json') diff --git a/apps/files_reminders/openapi.json b/apps/files_reminders/openapi.json index 2baa4e1bdb9..67135e57cc1 100644 --- a/apps/files_reminders/openapi.json +++ b/apps/files_reminders/openapi.json @@ -85,10 +85,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 } } ], @@ -208,10 +209,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 } } ], @@ -395,10 +397,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 } } ], -- cgit v1.2.3