@hono/zod-openapi
Advanced tools
Comparing version 0.15.3 to 0.16.0
@@ -72,3 +72,3 @@ import * as openapi3_ts_oas31 from 'openapi3-ts/oas31'; | ||
type RouteConfigToTypedResponse<R extends RouteConfig> = { | ||
[Status in keyof R['responses'] & RouteConfigStatusCode]: IsJson<keyof R['responses'][Status]['content']> extends never ? TypedResponse<{}, ExtractStatusCode<Status>, string> : TypedResponse<JSONParsed<ExtractContent<R['responses'][Status]['content']>>, ExtractStatusCode<Status>, 'json'>; | ||
[Status in keyof R['responses'] & RouteConfigStatusCode]: IsJson<keyof R['responses'][Status]['content']> extends never ? TypedResponse<{}, ExtractStatusCode<Status>, string> : TypedResponse<JSONParsed<ExtractContent<R['responses'][Status]['content']>>, ExtractStatusCode<Status>, 'json' | 'text'>; | ||
}[keyof R['responses'] & RouteConfigStatusCode]; | ||
@@ -75,0 +75,0 @@ type Hook<T, E extends Env, P extends string, R> = (result: { |
{ | ||
"name": "@hono/zod-openapi", | ||
"version": "0.15.3", | ||
"version": "0.16.0", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46554