-
I have a route that returns an object with a custom binary encoding. I want to use zod-openapi to document that route, but I'm having trouble with using Context.body() with an openapi route.
For re…
-
I want to use a middleware to somehow change the type of the context:
```
const app = new Hono();
```
```
type AuthenticationVariable = {
user?: string;
};
export type WithAuthenticate…
-
When the response schemas are heterogeneous depending on the status code, the typechecker erroneously forces the response type to one of them.
Here's a reproducing example:
```typescript
/*
JS…
-
I am using this in a NestJS Query DTO
```ts
async find(@Query() { siteId }: GetVehiclesDto) {}
```
```ts
export const GetVehiclesZ = extendApi(
z.object({
siteId: z.string().optional(…
-
Using `generateSchema()` on a zod object that contains a nullable property generates schema that is incompatible with the OpenAPI 3.1.0 specification.
```typescript
import z from 'zod'
import {g…
-
Recently, when working on [this PR](https://github.com/evals-sandbox/baseline-ops/pull/43), I needed to learn about a bunch of viv functions. The natural place to look is [`viv_api.py`](https://github…
-
### What version of `kubb` is running?
3.05
### What platform is your computer?
linux
### What version of external packages are you using(`@tanstack-query`, `MSW`, `React`, `Vue`, ...)
tanstack q…
-
### Description
AJV is an excellent way to generate data validation code starting from JSON Schema's. OpenAPI specifications build on JSON Schema's. The openapi-ts project can generate JSON Schema'…
-
### Description
The type declarations generated by openapi-ts are very good.
They would be even more useful if they had JSDOC tags.
The information for JSDOC tags is readily available in an Ope…
-
## What are the steps to reproduce this issue?
1.Generate Zod schemas using Orval with an OpenAPI specification.
2.Observe the generated schema for datetime fields.
3.Notice that datetime fie…