* Implemented fix for missing json to property mapping in typescript-node
The previous version did not parse the JSON-Response at all, so that
properties, which where renamed (e. g.due to modelPropertyNaming config
option), were not correctly parsed.
E. g.: modelPropertyNaming=camelCase & property 'mounted_at' in json,
would be renamed to mountedAt in the model.
This was not parsed at all in the typescript-node client api, so that
the actual model still had the mounted_at property, but not mountedAt.
See #2766 for additional details
* Updated samples for typescript-node
* Reverted initial changes to api.mustache
* Draft for object serializer for typescript-node
* Fixed missing variable error in ObjectSerializer in typescript-node
* Fix for body return type
* Fixed attributeTypeMaps when polymorphism is used
* Added ObjectSerializer support for polymorphism
* Code formatting in typescript-node api.mustache
* Fixed primitive type bug & added tests for ts-node
- primitives were serialized as strings instead of their respective type
- added test case for pet
* Code Formatting in ts-node client test
See samples/client/petstore/typescript-node/npm/client.ts
* Replaced tabs with 4 spaces and improved code formatting
* Recreated security test for typescript-node
* Read sample.png with fs.readFileSync instead of a stream
this allows to use names defined by user in Response model instead of
"inline_response". Also user could use title to have specific name for
request model instead of parameter name