We could generate the client code to invoke the userland API, which would be good because
This will of course only be relevant on the client side - the server side is probably note even worth doing any codegen for because in practice the user will probably be doing their own thing for any particular request - it’s less boilerplatey; the purpose of the client is to defer all of that to the server, that makes it boilerplate
But it raises many questions
in order:
typescript - TypeScript with the WHATWG Fetch API (standard in browsers)rust - reqwestswift - oughtta figure out the standard solution but idk how it'd be extensibleruby - could explore an integration with roar or alternatives, or inject our own methods somehow