News for hackers. Stuff that matters.
Re:.NET Blazor by fuzzy2 on Tuesday November 21, 2023 @10:27AM (#38364879)
TypeLite used to offer something similar, but it's somewhat dead nowadays.

OpenAPI client generators are probably what's popular today.

Re:.NET Blazor by rattray on Tuesday November 21, 2023 @10:44AM (#38365185)
Yep. For frontend use, I think https://www.npmjs.com/package/openapi-typescript is the most widely-used/well-regarded, though https://www.npmjs.com/package/orval seems to me to have some nicer features like react-query support.

There are other options too, I'd just stay away from "_the_ openapi generator" (https://openapi-generator.tech/) which does a pretty poor job IMO.

Disclaimer: I'm the founder of a company doing SDKs commercially, but we don't focus on the frontend right now, and our free plan is still in beta.