From 499435fba5ecbff34f2643e806ae34ae4afc0866 Mon Sep 17 00:00:00 2001 From: Corentin Bernard Date: Mon, 5 Feb 2024 11:50:42 +0100 Subject: [PATCH] fix(typegen): fix disableOptionalPathParameters --- packages/typegen/src/typegen.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/typegen/src/typegen.ts b/packages/typegen/src/typegen.ts index a0d5811..8065528 100644 --- a/packages/typegen/src/typegen.ts +++ b/packages/typegen/src/typegen.ts @@ -38,7 +38,7 @@ export async function main() { type: 'string', }) .option('disableOptionalPathParameters', { - type: 'string', + type: 'boolean', description: 'Force all path parameters to be required', default: true, })