Depending on which swagger generator you use, you will see different output. For instance: Different ways of generating models, services, level of quality, HTTP client, etc. I've compiled a list below with the results per area and how they compare against the openapi-typescript-codegen.
| 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 | ✅ | ✅ | ✅ |
⚠️
DetailsV3 version sends data as |
⚠️
DetailsV3 version sends data as |
✅ | ✅ |
| Models and services contain inline documentation | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Framework agnostic | ✅ | ❌ | ❌ | ❌ |
⚠️
DetailsRequires portable-fetch |
❌ |
⚠️
DetailsRequires bluebird |
| Compiles in strict mode without issues | ✅ |
❌
DetailsErrors when compiling: |
❌
DetailsErrors when compiling: |
❌
DetailsErrors when compiling: |
❌
DetailsErrors when compiling: |
❌
DetailsErrors when compiling: |
❌
DetailsErrors when compiling: |
| 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.2s | 0.7s | 0.7s | 1.4s | 1.1s | 0.7s | 0.7s |