diff --git a/packages/whook-aws-lambda/src/wrappers/awsHTTPLambda.ts b/packages/whook-aws-lambda/src/wrappers/awsHTTPLambda.ts index 28323e17..caa46ffd 100644 --- a/packages/whook-aws-lambda/src/wrappers/awsHTTPLambda.ts +++ b/packages/whook-aws-lambda/src/wrappers/awsHTTPLambda.ts @@ -166,8 +166,6 @@ async function initWrapHandlerForConsumerLambda({ warn: (...args: string[]) => log('warning', ...args), error: (...args: string[]) => log('error', ...args), }, - useDefaults: true, - coerceTypes: true, }); addAJVFormats.default(ajv); const ammendedParameters = extractOperationSecurityParameters( diff --git a/packages/whook-gcp-functions/src/wrappers/wrapHandlerForGoogleHTTPFunction.ts b/packages/whook-gcp-functions/src/wrappers/wrapHandlerForGoogleHTTPFunction.ts index d87cfa3c..e6da3d25 100644 --- a/packages/whook-gcp-functions/src/wrappers/wrapHandlerForGoogleHTTPFunction.ts +++ b/packages/whook-gcp-functions/src/wrappers/wrapHandlerForGoogleHTTPFunction.ts @@ -144,8 +144,6 @@ async function initWrapHandlerForGoogleHTTPFunction({ warn: (...args: string[]) => log?.('warning', ...args), error: (...args: string[]) => log?.('error', ...args), }, - useDefaults: true, - coerceTypes: true, }); addAJVFormats.default(ajv); const ammendedParameters = extractOperationSecurityParameters(