-
I'm using hono.js in next.js. When using openapi and zod for data validation, I've found that it's not possible to correctly infer the types of input values or response values through zod. For example…
-
Code
```ts
const projects_list_default_limit = 10;
const projects_list_max_limit = 100;
export const listProjectSchema = z.object({
limit: z.coerce
.number()
.min(1)
.max(project…
-
Note: Because openapi-zod is a library standing on the shoulders of other libraries, I don't have an idea if this is the correct repository to ask.
I am currently migrating an existing API with an …
-
Similarly to how `zod-openapi` does it:
https://github.com/samchungy/zod-openapi/tree/master?tab=readme-ov-file#supported-zod-schema
Currently, we get the following error:
> Unknown zod object ty…
-
Hello,
I've just started using this library and have come across the following issue. Consider the following:
```TS
import { extendApi } from '@anatine/zod-openapi';
import { object, string, …
-
I wanted to try it out as I was looking for a better openapi plugin for Hono, but got this error when I tried for the first time.
`import { validator as zValidator } from 'hono-openapi/zod'`
so…
-
**Error: The Edge Function "api/index" is referencing unsupported modules:
- @hono: hono/utils/url**
this is what happens when i add openAPIHono to project. Does it mean swagger i…
-
Think it is related to this: #374
**Issue:**
The return type of `streamSSE` does not match and typsescript is complaining
**Example:**
```ts
const chatRoute = createRoute({
method: 'po…
-
Hi,
I am trying to use this package for creating Swagger documentation for Azure functions. But I am getting an error for a Schema which is using Zod Map:
``` typescript
export const PayloadSch…
-
## Bug description
```
npm i -D openapi-typescript ts-to-zod
```
In `package.json`:
```json
{
"scripts": {
"fetch-openapi-types": "openapi-typescript https://developers.zoom.us/api-h…