opencode icon indicating copy to clipboard operation
opencode copied to clipboard

chore: update @hey-api/openapi-ts to 0.90.1

Open mrlubos opened this issue 2 weeks ago • 0 comments

Migrated config to the latest version. The key change in 0.90.0 is the Structure API which correctly deduplicates conflicting nested structures. In practice, you'll see the following breaking change with auth methods.

Before

All operationId keywords containing auth were merged, resulting in both client.mcp.auth and client.auth containing the same methods.

Screenshot 2026-01-03 at 2 37 59 am Screenshot 2026-01-03 at 2 37 52 am

After

The default behavior no longer assumes this to be the case and dedupes them as you'd expect.

Screenshot 2026-01-03 at 2 38 24 am Screenshot 2026-01-03 at 2 38 14 am

Conclusion

Based on the code examples I assume this is fine, but let me know if you want to preserve the old structure – it's possible.

Code Examples

Updated to 0.90.1 which adds support for code examples. I only tried to recreate the existing examples for now, so you should be able to remove the manual examples.

mrlubos avatar Jan 02 '26 18:01 mrlubos