From 33a3351b46a7c7008b1dd75342bb0d2c2821d47c Mon Sep 17 00:00:00 2001 From: Ferdi Koomen Date: Fri, 19 Jun 2020 09:30:31 +0200 Subject: [PATCH] - Fixed table layout --- package.json | 2 +- samples/README.md | 72 +++++++++++++++++++++++------------------------ 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/package.json b/package.json index e95b2abe..19bc2485 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "src/templates/**/*.ts" ], "scripts": { - "clean": "rimraf ./dist ./test/result ./coverage", + "clean": "rimraf ./dist ./test/result ./coverage ./samples/examples", "build": "rollup --config", "run": "node ./test/index.js", "test": "jest", diff --git a/samples/README.md b/samples/README.md index a9f732a4..c99a7bfe 100644 --- a/samples/README.md +++ b/samples/README.md @@ -21,9 +21,9 @@ And used the following generators with their default options: #Results - +
- + @@ -35,7 +35,7 @@ And used the following generators with their default options: - + @@ -45,7 +45,7 @@ And used the following generators with their default options: - + @@ -55,17 +55,17 @@ And used the following generators with their default options: - + - + - - - - - + + + + + - + @@ -73,29 +73,29 @@ And used the following generators with their default options: - + - + - + - - - - + + + + - + - + - + - + - + @@ -105,7 +105,7 @@ And used the following generators with their default options: - + @@ -115,17 +115,17 @@ And used the following generators with their default options: - + - - + + - + @@ -135,15 +135,15 @@ And used the following generators with their default options: - + - - - - - - + + + + + +
openapi-typscript-codegen aurelia
Supports OpenApi v2 specification
Supports OpenApi v3 specification
Supports authentication✅ Bearer token
Bearer token
✅ Bearer token✅ Bearer token✅ Bearer token✅ Bearer token✅ Bearer token
Bearer token
Bearer token
Bearer token
Bearer token
Bearer token
Strongly typed models ✅ Using classes instead of simple interfaces
Using classes instead of simple interfaces
Strongly typed enums ✅ No enum is exported
No enum is exported
✅ Odd cast to <any>✅ Odd cast to <any>✅ Odd cast to <any>✅ Odd cast to <any>
Odd cast to <any>
Odd cast to <any>
Odd cast to <any>
Odd cast to <any>
Models and services exported as individual files ❌ All models inside one file
All models inside one file
❌ All models and services inside one file
All models and services inside one file
❌ All models and services inside one file
All models and services inside one file
Index file that exports all services and models
Service returns typed result
Service supports sending and receiving binary content ❌ Passing file as application/octet-stream❌ Passing file as application/octet-stream
Passing file as application/octet-stream
Passing file as application/octet-stream
Models and services contain inline documentation
Framework agnostic ❌ No, using aurelia❌ No, using inversify and rxjs❌ No, using angular✅ But depends on portable-fetch❌ No, using jquery❌ No, can only be used with NodeJS http
No, using aurelia
No, using inversify and rxjs
No, using angular
But depends on portable-fetch
No, using jquery
No, can only be used with NodeJS http