arktypea
arktype9mo ago
Max

Arktype codegeneration through openapi

Is it possible to generate Arktype types (to use as runtime type check) from a (Swagger) OpenAPI generated API?

Our current approach is:
Our BE updates Swagger -> we in FE download the newest file -> We generate the new API for us to use/ here Id also like to generate the arktype types -> We use it.

I know that generally there are better solutions (Monorepo for example), but for now Id believe this is the best solution.
Was this page helpful?