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
pull/2308/head^2
Amir Zarrinkafsh 2021-09-04 21:48:49 +10:00 committed by GitHub
parent 622f25cab1
commit 8c77f4f931
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -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: