npm / hono-openapi
hono-openapi
What changed in hono-openapi 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-28.
1 breaking1 deprecations5 behavior and defaults10 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli inithono-openapi 117 changes
Breaking changes 1
A named query schema is no longer published when its fields are inlined.
Deprecations 1
A parameter is marked deprecated when its field is deprecated.
Behavior and default changes 5
defaultOptions are now applied once per operation.
A request body is marked required only when the route needs it.
Schemas returned by resolver() are now resolved in headers.
A response gets its own component when its shape differs.
Response schemas are converted as output.
Fixes and other changes 10
A route that documents no response now documents its default response.
Default schemas are now resolved for validator routes.
Both encodings accepted by a form validator are now documented.
Generated operation IDs are now kept unique.
Optional operation IDs are now kept unique.
Each path served by a route with optional parameters is now documented.
Payloads are preserved during schema generation.
A required setting described by the route is preserved over the validator's setting.
Parameters of a union query schema are now documented.
Routes described by another copy of the package are now found.