From 8c77f4f931ae88ad189073f4f896f8399f572342 Mon Sep 17 00:00:00 2001 From: Amir Zarrinkafsh Date: Sat, 4 Sep 2021 21:48:49 +1000 Subject: [PATCH] fix(api): /api/checks/safe-redirection missing schemas (#2340) The following schemas for /api/checks/safe-redirection were missed in #2082: * handlers.checkURIWithinDomainRequestBody * handlers.checkURIWithinDomainResponseBody --- api/openapi.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/api/openapi.yml b/api/openapi.yml index 9ef9354d..c27dece2 100644 --- a/api/openapi.yml +++ b/api/openapi.yml @@ -570,6 +570,19 @@ components: type: string enum: ["basic"] schemas: + handlers.checkURIWithinDomainRequestBody: + type: object + properties: + uri: + type: string + example: https://secure.example.com + handlers.checkURIWithinDomainResponseBody: + type: object + properties: + ok: + type: boolean + example: true + description: If redirection URL is safe. handlers.configuration.ConfigurationBody: type: object properties: