4 ms·
I’m trying to achieve generator-less mapping from OpenAPI to Typescript types at https://github.com/varanauskas/oatx https://github.com/varanauskas/oatx
by varanauskas 3y ago
I’m trying to achieve generator-less mapping from OpenAPI to Typescript types at https://github.com/varanauskas/oatx https://github.com/varanauskas/oatx
- klysm 3y agoNice! So this goes OpenAPI -> JSON Schema -> typescript?
- varanauskas 3y agoOpenAPI 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