@asteasolutions/zod-to-openapi
Advanced tools
Comparing version 7.1.2 to 7.2.0
{ | ||
"name": "@asteasolutions/zod-to-openapi", | ||
"version": "7.1.2", | ||
"version": "7.2.0", | ||
"description": "Builds OpenAPI schemas from Zod schemas", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs", |
@@ -519,3 +519,21 @@ # Zod to OpenAPI | ||
- `ZodString` | ||
- adding `format` for `.datetime()`, `.uuid()`, `.email()` and `.url()` and `pattern` for `.regex()` is also supported | ||
- adding `format` for: | ||
- `.emoji()` | ||
- `.cuid()` | ||
- `.cuid2()` | ||
- `.ulid()` | ||
- `.ip()` | ||
- `.datetime()` | ||
- `.uuid()` | ||
- `.email()` | ||
- `.url()` | ||
- adding `pattern` for `.regex()` is also supported | ||
${'emoji'} | ${z.string().emoji()} | ${'emoji'} | ||
${'cuid'} | ${z.string().cuid()} | ${'cuid'} | ||
${'cuid2'} | ${z.string().cuid2()} | ${'cuid2'} | ||
${'ulid'} | ${z.string().ulid()} | ${'ulid'} | ||
${'ip'} | ${z.string().ip()} | ${'ip'} | ||
- `ZodTuple` | ||
@@ -522,0 +540,0 @@ - `ZodUnion` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
169879
3294
561