Releases: astahmer/openapi-zod-client
Releases · astahmer/openapi-zod-client
openapi-zod-client@1.18.2
Patch Changes
- #294
ca81272
Thanks @QuentinJanuel! - Fix format validation for string items in arrays. Previously, format specifications (such asdate-time
) were ignored for array items, resulting in loose validation. This change ensures that the specified formats are now correctly applied to all string items within arrays.
openapi-zod-client@1.18.1
Patch Changes
- #288
3799ae3
Thanks @mjperrone! - Fix escaping of forward slash/
in pattern regex so the output code will be/\//
. This change also breaks escaping of unnecessarily escaped forward slash\/
in pattern regex, such that the output code will be/\\//
.
openapi-zod-client@1.18.0
Minor Changes
- #275
ed50076
Thanks @senecolas! - AddwithDocs
option and--with-docs
flag that adds JSDoc to generated code
openapi-zod-client@1.17.0
openapi-zod-client@1.16.4
openapi-zod-client@1.16.3
Patch Changes
- #276
aa4c7a3
Thanks @tankers746! - Fixed bug which was excluding falsy default values
openapi-zod-client@1.16.2
Patch Changes
- #271
197316b
Thanks @codingmatty! - Fix invalid output when using array types as the endpoint body with minItems or maxItems and using the tag-file group-strategy.
openapi-zod-client@1.16.1
Patch Changes
- #270
04dd1b5
Thanks @codingmatty! - Fix bug withexportAllNamedSchemas
option where schemas will reuse last schema name with matching schema rather than it's own name that has already been used before.
openapi-zod-client@1.16.0
Minor Changes
- #268
f62be48
Thanks @codingmatty! - AddexportAllNamedSchemas
option to allow exporting duplicate schemas with different names.