@hono/zod-openapi
Advanced tools
Comparing version 0.12.0 to 0.12.1
@@ -12,2 +12,3 @@ import * as openapi3_ts_oas31 from 'openapi3-ts/oas31'; | ||
type MaybePromise<T> = Promise<T> | T; | ||
type RouteConfig = RouteConfig$1 & { | ||
@@ -126,3 +127,3 @@ middleware?: MiddlewareHandler | MiddlewareHandler[]; | ||
}; | ||
} ? RouteConfigToTypedResponse<R> : RouteConfigToTypedResponse<R> | Response | Promise<Response>>, hook?: Hook<I, E, P, RouteConfigToTypedResponse<R> | Response | Promise<Response> | void | Promise<void>> | undefined) => OpenAPIHono<E, S & ToSchema<R['method'], MergePath<BasePath, P>, I, RouteConfigToTypedResponse<R>>, BasePath>; | ||
} ? MaybePromise<RouteConfigToTypedResponse<R>> : MaybePromise<RouteConfigToTypedResponse<R>> | MaybePromise<Response>>, hook?: Hook<I, E, P, RouteConfigToTypedResponse<R> | Response | Promise<Response> | void | Promise<void>> | undefined) => OpenAPIHono<E, S & ToSchema<R['method'], MergePath<BasePath, P>, I, RouteConfigToTypedResponse<R>>, BasePath>; | ||
getOpenAPIDocument: (config: OpenAPIObjectConfig) => openapi3_ts_oas30.OpenAPIObject; | ||
@@ -129,0 +130,0 @@ getOpenAPI31Document: (config: OpenAPIObjectConfig) => openapi3_ts_oas31.OpenAPIObject; |
{ | ||
"name": "@hono/zod-openapi", | ||
"version": "0.12.0", | ||
"version": "0.12.1", | ||
"description": "A wrapper class of Hono which supports OpenAPI.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
40750
537