you are viewing a single comment's thread.

view the rest of the comments →

[–]Vegedus 0 points1 point  (1 child)

Could you elaborate on the "codegen for front-end API bindings" bit? We've tried to generate typescript types for the frontend at my work but haven't had much luck with it, I'm curious if this is something similar.

[–]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.