I've used the standard petshop examples from OpenAPI:

And used the following generators with their default options:

openapi-typescript-codegen aurelia inversify angular fetch jquery node
Supports OpenApi v2 specification
Supports OpenApi v3 specification
Supports authentication
Strongly typed models
Strongly typed enums
Models and services exported as individual files
Index file that exports all services and models
Service returns typed result
Service supports sending and receiving binary content
⚠️

V3 version sends data as application/octet-stream instead of application/x-www-form-urlencoded

⚠️

V3 version sends data as application/octet-stream instead of application/x-www-form-urlencoded

Models and services contain inline documentation
Framework agnostic
⚠️

Requires portable-fetch

⚠️

Requires bluebird

Compiles in strict mode without issues

Errors when compiling: PetApi.ts:147:30 - error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'

Errors when compiling: pet.service.ts:312:159 - error TS2304: Cannot find name 'body'

Errors when compiling: pet.service.ts:528:26 - error TS1345: An expression of type 'void' cannot be tested for truthiness

Errors when compiling: api.ts:2276:67 - error TS2300: Duplicate identifier 'username'

Errors when compiling: PetApi.ts:25:12 - error TS2322: Type 'null' is not assignable to type 'JQueryAjaxSettings | undefined'

Errors when compiling: api.ts:1631:45 - error TS2694: Namespace '"http"' has no exported member 'ClientResponse'

Generated size (typescript) 30KB 29KB 37KB 63KB 85KB 57KB 65KB
Build size (javascript, not minimized) 17KB 16KB 22KB 36KB 48KB 37KB 53KB
Generation time 0.132s 0.715s 0.788s 1.386s 1.103s 0.728s 0.752s