diff --git a/samples/.gitignore b/samples/.gitignore index 0e427f75..020b77ca 100644 --- a/samples/.gitignore +++ b/samples/.gitignore @@ -1,3 +1,5 @@ +examples +node_modules swagger-codegen-cli-v2.jar swagger-codegen-cli-v3.jar -examples +yarn.lock diff --git a/samples/README.html b/samples/README.html index b74d6ceb..1addbbef 100644 --- a/samples/README.html +++ b/samples/README.html @@ -7,19 +7,19 @@ -
- Depending on which generator you use, you will see different output. For instance: + 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. + against the openapi-typescript-codegen.
-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
Requires portable-fetch
+Requires bluebird
+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'