Hacker News new | ask | show | jobs
by varanauskas 1119 days ago
I’m trying to achieve generator-less mapping from OpenAPI to Typescript types at https://github.com/varanauskas/oatx
1 comments

Nice! So this goes OpenAPI -> JSON Schema -> typescript?
OpenAPI uses JSONSchema to define object (e.g. request, response body) schemas, so it would be more accurate to say it:

Extracts the JSONSchema based on path+method+response type from OpenAPI and then converts that to typescript