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

Supported codegen targets

in order: