Page Contents

Home > @loopback/rest > RequestBodyValidationOptions > ajvKeywords

RequestBodyValidationOptions.ajvKeywords property

Enable additional AJV keywords from https://github.com/epoberezkin/ajv-keywords - true: Add all keywords from ajv-keywords - string[]: Add an array of keywords from ajv-keywords

Signature:

ajvKeywords?: true | string[];