Skip to content

Releases: astahmer/openapi-zod-client

openapi-zod-client@1.18.1

18 Apr 08:00
Compare
Choose a tag to compare

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

13 Apr 21:20
Compare
Choose a tag to compare

Minor Changes

  • #275 ed50076 Thanks @senecolas! - Add withDocs option and --with-docs flag that adds JSDoc to generated code

openapi-zod-client@1.17.0

11 Apr 14:42
Compare
Choose a tag to compare

Minor Changes

  • #283 3ec4915 Thanks @dgadelha! - Add schemaRefiner option to allow refining the OpenAPI schema before its converted to a Zod schema

openapi-zod-client@1.16.4

03 Apr 15:46
Compare
Choose a tag to compare

Patch Changes

openapi-zod-client@1.16.3

26 Mar 14:11
Compare
Choose a tag to compare

Patch Changes

openapi-zod-client@1.16.2

25 Feb 17:49
Compare
Choose a tag to compare

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

25 Feb 08:35
Compare
Choose a tag to compare

Patch Changes

  • #270 04dd1b5 Thanks @codingmatty! - Fix bug with exportAllNamedSchemas 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

24 Feb 23:58
Compare
Choose a tag to compare

Minor Changes

  • #268 f62be48 Thanks @codingmatty! - Add exportAllNamedSchemas option to allow exporting duplicate schemas with different names.

openapi-zod-client@1.15.1

09 Jan 09:19
Compare
Choose a tag to compare

Patch Changes

  • 73f6726 Thanks @astahmer! - Add a --strict-objects CLI flag: Use strict validation for objects so we don't allow unknown keys. Defaults to false. thanks @iceydee

openapi-zod-client@1.15.0

27 Dec 08:52
Compare
Choose a tag to compare

Minor Changes