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
This commit is contained in:
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

View File

@ -570,6 +570,19 @@ components:
type: string type: string
enum: ["basic"] enum: ["basic"]
schemas: 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: handlers.configuration.ConfigurationBody:
type: object type: object
properties: properties: