Skip to content

Commit

Permalink
opts.coerceTypes should be a boolean or 'array'
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 authored Nov 27, 2019
1 parent 3bd4b5d commit 2219a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framework/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface OpenApiValidatorOpts {
validateResponses?: boolean | ValidateResponseOpts;
validateRequests?: boolean | ValidateRequestOpts;
securityHandlers?: SecurityHandlers;
coerceTypes?: boolean;
coerceTypes?: boolean | 'array';
unknownFormats?: true | string[] | 'ignore';
multerOpts?: {};
}
Expand Down

0 comments on commit 2219a97

Please sign in to comment.