additionalPropertiesDefaultValue implementation bug
amvFrontendMonkey opened this issue · comments
Matt Penrice commented
In the PR - https://github.com/astahmer/openapi-zod-client/pull/230/files - the cli switch --additional-props-default-value false
is not coerced into a boolean before the check within openApiToZod.ts
(const additionalPropsSchema = additionalProps === false ? "" : ".passthrough()";
)
Alexandre Stahmer commented
would you like to send a PR ?
Matt Penrice commented
ah, this is a work account and i'm not on the project anymore.
Sorry to say then, I won't