Releases: astahmer/openapi-zod-client
Releases · astahmer/openapi-zod-client
[email protected]
Patch Changes
-
#96
dc16074
Thanks @feychenie! - Improvement: AddwithDefaultValues
(defaulttrue
) config option to control presend of default values in the zod schemas -
#96
dc16074
Thanks @feychenie! - Improves default values conversion to not depend on the presence of a single-value "type" schema attribute
[email protected]
Patch Changes
- #93
16f5ccc
Thanks @feychenie! - Improvement: add the ability to set a customalias
generation function in thewithAlias
option.
[email protected]
Patch Changes
- #91
6ca10ff
Thanks @feychenie! - Fixed an issue with non-string enums containing a single value, resulting in an invalid zod union
[email protected]
Patch Changes
- #89
b3e273a
Thanks @feychenie! - Fixes and issue where default values for objects are incorrectly set (or ommited) in the zod schema.
[email protected]
Patch Changes
-
#86
e582b84
Thanks @feychenie! - Fixes and issue where default values for arrays are incorrectly set (or ommited) in the zod schema. -
#87
7a21616
Thanks @feychenie! - Fixed an issue where 'oneOf', 'anyOf', 'allOf' schemas containing a single item being a '$ref' would cause the zod schema generation to fail.
[email protected]
[email protected]
[email protected]
Patch Changes
b9d5360
Thanks @astahmer! - feat: support undefined schema refs #76, thanks to alex-lucas