Open amvFrontendMonkey opened 10 months ago
would you like to send a PR ?
ah, this is a work account and i'm not on the project anymore.
Sorry to say then, I won't
@astahmer I'd be willing to provide a PR for this
Is this something you'd accept?
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 withinopenApiToZod.ts
(const additionalPropsSchema = additionalProps === false ? "" : ".passthrough()";
)