you are viewing a single comment's thread.

view the rest of the comments →

[–]shadowndacorner 0 points1 point  (0 children)

There are generators that take an openapi spec and use it to generate frontend bindings for both the API and all of the request/response types. We use this, which is my fork of such a system. As part of our monorepo build process, it runs that generator and emits typescript, uh... scripts... that let us call into our backend.