Closed G4brym closed 1 year ago
🧪 A prerelease is available for testing 🧪
You can install this latest build in your project with:
npm install --save https://prerelease-registry.devprod.cloudflare.dev/itty-router-openapi/runs/5668080968/npm-package-itty-router-openapi-72
Or you can immediately run this with npx
:
npx https://prerelease-registry.devprod.cloudflare.dev/itty-router-openapi/runs/5668080968/npm-package-itty-router-openapi-72
This pr will add support for zod while keeping support for the older type definitions like
new Str({required: false})
Breaking changes:
Regex
now must be in theRegExp
format instead of string, ex:/^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$/
raiseUnknownParameters
is now default totrue
data
argument