Use Zod Schemas to create OpenAPI v3.x documentation
MIT License
Published by samchungy over 1 year ago
Full Changelog: https://github.com/samchungy/zod-openapi/compare/v2.2.1...v2.2.2
Published by samchungy over 1 year ago
Full Changelog: https://github.com/samchungy/zod-openapi/compare/v2.2.0...v2.2.1
Published by samchungy over 1 year ago
.openapi()
default and example/examples fields. by @samchungy in https://github.com/samchungy/zod-openapi/pull/63
Full Changelog: https://github.com/samchungy/zod-openapi/compare/v2.1.0...v2.2.0
Published by samchungy over 1 year ago
.openapi()
default and example/examples fields. by @samchungy in https://github.com/samchungy/zod-openapi/pull/63
Full Changelog: https://github.com/samchungy/zod-openapi/compare/v2.1.0...v2.2.0-beta.1
Published by samchungy over 1 year ago
headers
key for response headers by @samchungy in https://github.com/samchungy/zod-openapi/pull/53
Full Changelog: https://github.com/samchungy/zod-openapi/compare/v2.0.0...v2.1.0
Published by samchungy over 1 year ago
Remove All Dependencies by @samchungy in https://github.com/samchungy/zod-openapi/pull/47
yaml
library and to keep this library as lean and vulnerability free the decision was made to remove yaml
and subsequently the openapi3-ts
library which also has a dependency on yaml
. The types of the openapi3-ts
are still used and re-exported by this library albeit without the explicit dependency declaration. This means that the createDocumentYaml
and createDocumentJson
methods have been removed. These can be easily replicated in your projects.Full Changelog: https://github.com/samchungy/zod-openapi/compare/v1.0.2...v2.0.0
Published by samchungy over 1 year ago
Remove All Dependencies by @samchungy in https://github.com/samchungy/zod-openapi/pull/47
yaml
library and to keep this library as lean and vulnerability free the decision was made to remove yaml
and subsequently the openapi3-ts
library which also has a dependency on yaml
. The types of the openapi3-ts
are still used albeit without the explicit dependency declaration. This means that the createDocumentYaml
and createDocumentJson
methods have been removed. These can be easily replicated in your projects.Full Changelog: https://github.com/samchungy/zod-openapi/compare/v1.0.2...v2.0.0-beta.1
Published by samchungy over 1 year ago
Full Changelog: https://github.com/samchungy/zod-openapi/compare/v1.0.1...v1.0.2
Published by samchungy over 1 year ago
openapi3-ts
and yaml
versions by @samchungy in https://github.com/samchungy/zod-openapi/pull/43
Full Changelog: https://github.com/samchungy/zod-openapi/compare/v1.0.0...v1.0.1
Published by samchungy over 1 year ago
openapi3-ts
from 4.0.4 to 4.1.2 by @dependabot in https://github.com/samchungy/zod-openapi/pull/40
yaml
to 2.2.2 by @samchungy in https://github.com/samchungy/zod-openapi/pull/41
Full Changelog: https://github.com/samchungy/zod-openapi/compare/v0.9.0...v1.0.0
Published by samchungy over 1 year ago
Full Changelog: https://github.com/samchungy/zod-openapi/compare/v0.8.0...v0.9.0
Published by samchungy over 1 year ago
Full Changelog: https://github.com/samchungy/zod-openapi/compare/v0.7.1...v0.8.0
Published by samchungy over 1 year ago
Full Changelog: https://github.com/samchungy/zod-openapi/compare/v0.7.0...v0.7.1
Published by samchungy over 1 year ago
Support manual registering schema by @samchungy in https://github.com/samchungy/zod-openapi/pull/24
You can now register schema using two methods. With a ref
field in the .openapi()
section of the ZodSchema
or directly in the
components.
effectType
from rendered schema by @samchungy in https://github.com/samchungy/zod-openapi/pull/23
Full Changelog: https://github.com/samchungy/zod-openapi/compare/v0.6.0...v0.7.0
Published by samchungy over 1 year ago
ZodUnknown
support by @samchungy in https://github.com/samchungy/zod-openapi/pull/21
Full Changelog: https://github.com/samchungy/zod-openapi/compare/v0.5.2...v0.6.0
Published by samchungy over 1 year ago
ZodType
in schema field by @samchungy in https://github.com/samchungy/zod-openapi/pull/19
Full Changelog: https://github.com/samchungy/zod-openapi/compare/v0.5.1...v0.5.2
Published by samchungy over 1 year ago
ZodEffects
types and default preprocess
to output type by @samchungy in https://github.com/samchungy/zod-openapi/pull/16
ZodEffects
by @samchungy in https://github.com/samchungy/zod-openapi/pull/17
Full Changelog: https://github.com/samchungy/zod-openapi/compare/v0.5.0...v0.5.1
Published by samchungy over 1 year ago
ZodCatch
support by @samchungy in https://github.com/samchungy/zod-openapi/pull/7
ZodEffects
and ZodPipeline
by @samchungy in https://github.com/samchungy/zod-openapi/pull/9
Full Changelog: https://github.com/samchungy/zod-openapi/compare/v0.4.3...v0.5.0
Published by samchungy over 1 year ago
Full Changelog: https://github.com/samchungy/zod-openapi/compare/v0.4.2...v0.4.3
Published by samchungy over 1 year ago
additionalProperties
mapping by @samchungy in https://github.com/samchungy/zod-openapi/pull/3
Full Changelog: https://github.com/samchungy/zod-openapi/compare/v0.4.1...v0.4.2