MarvinKR
Explore posts from serversproducts/{id} APIs conflicting with products/my-products in generated doc with OpenAPI
yeah same here:
"@hono/zod-openapi": "^0.19.2",
"@hono/zod-validator": "^0.4.3",
"hono": "^4.7.2",
"hono-openapi": "^0.4.6",
"zod": "^3.24.1",
"zod-openapi": "^4.2.3"
80 replies
products/{id} APIs conflicting with products/my-products in generated doc with OpenAPI
type issue: Type 'ResolverResult' is not assignable to type 'ReferenceObject | SchemaObject | undefined'.ts(2322)
index.d.ts(329, 9): The expected type comes from property 'schema' which is declared here on type 'MediaTypeObject'
80 replies
products/{id} APIs conflicting with products/my-products in generated doc with OpenAPI
hey @Aditya Mathur now I have this issues when writing:
I get this error: Type 'ResolverResult' is not assignable to type 'ReferenceObject | SchemaObject | undefined'.ts(2322)
index.d.ts(329, 9): The expected type comes from property 'schema' which is declared here on type 'MediaTypeObject'
80 replies