@hono/zod-openapi
Advanced tools
Comparing version 0.7.0 to 0.7.1
@@ -57,3 +57,3 @@ import * as openapi3_ts_oas31 from 'openapi3-ts/oas31'; | ||
}, c: Context<E, P>) => TypedResponse<O> | Promise<TypedResponse<T>> | void; | ||
type ConvertPathType<T extends string> = T extends `${infer _}/{${infer Param}}${infer _}` ? `/:${Param}` : T; | ||
type ConvertPathType<T extends string> = T extends `${infer Start}/{${infer Param}}${infer Rest}` ? `${Start}/:${Param}${ConvertPathType<Rest>}` : T; | ||
type HandlerResponse<O> = TypedResponse<O> | Promise<TypedResponse<O>>; | ||
@@ -60,0 +60,0 @@ type OpenAPIHonoOptions<E extends Env> = { |
{ | ||
"name": "@hono/zod-openapi", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"description": "A wrapper class of Hono which supports OpenAPI.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
30571