Open theoparis opened 2 years ago
it works with deno and vscode using an older version of zod.
/deno/lib/deps.ts
needs to import zod from https://deno.land/x/zod@v3.8.0/mod.ts
.
here's an example project that uses an import_map.json
: https://github.com/hastebrot/zod-endpoints-playground
I tried to use the deno library and it complains a ton about type checking errors - I can't even show them all here...
Sadly I can't find a single other deno library that provides openapi schemas 😢