Hacker News new | ask | show | jobs
by Kinrany 123 days ago
What's a better alternative for shared types? OpenAPI is really outdated and the tooling is always a mess.

There is ts-rs [1], but it's only for TS.

[1]: https://docs.rs/ts-rs/latest/ts_rs/

1 comments

protobufs?
When serialized as JSON perhaps. Being able to inspect payloads in the browser is too convenient.