diff --git a/src/generators/operationGenerator.ts b/src/generators/operationGenerator.ts index 3a573a0032..dcb5bf2a6e 100644 --- a/src/generators/operationGenerator.ts +++ b/src/generators/operationGenerator.ts @@ -306,7 +306,7 @@ function getOperationParameterSignatures( const operationRequests = operation.requests; const overloadParameterDeclarations: ParameterWithDescription[][] = []; - const hasMultipleOverloads = Boolean(operationRequests.length > 1); + const hasMultipleOverloads = operationRequests.length > 1; for (const request of operationRequests) { const requestMediaType = request.mediaType;