Skip to content

Commit

Permalink
Update openapi.validator.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
cdimascio authored Nov 27, 2021
1 parent 1d24ae7 commit a979e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openapi.validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (<any>options).securityHandlers;
if (securityHandlers != null) {
Expand Down

0 comments on commit a979e53

Please sign in to comment.