fix(api): /api/checks/safe-redirection missing schemas (#2340)
The following schemas for /api/checks/safe-redirection were missed in #2082: * handlers.checkURIWithinDomainRequestBody * handlers.checkURIWithinDomainResponseBodypull/2308/head^2
parent
622f25cab1
commit
8c77f4f931
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue