From a979e53e7755eb2e8a291b854d1c491415269926 Mon Sep 17 00:00:00 2001 From: Carmine DiMascio Date: Sat, 27 Nov 2021 18:41:58 -0500 Subject: [PATCH] Update openapi.validator.ts --- src/openapi.validator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openapi.validator.ts b/src/openapi.validator.ts index 1f91839a..db1a3f3d 100644 --- a/src/openapi.validator.ts +++ b/src/openapi.validator.ts @@ -321,7 +321,7 @@ export class OpenApiValidator { } private validateOptions(options: OpenApiValidatorOpts): void { - if (!options.apiSpec) throw ono('apiSpec required'); + if (!options.apiSpec) throw ono('apiSpec required.'); const securityHandlers = (options).securityHandlers; if (securityHandlers != null) {