module:SecurityValidator

new module:SecurityValidator()

SecurityValidator
Properties
NameTypeDescription
securitySchemesArray.<Object>openapi parameters definition
requestBodyDefinitionObjectopenapi body definition

Methods

(async) test(header, query) → {Promise.<void>}

Test given header/query input against the instance schema
Parameters:
NameTypeDescription
headerobject
queryobject
Returns:
Type: 
Promise.<void>