forked from loafle/openapi-generator-original
* [TypeScript-Node] support setting the content-type header per-call This approach is inspired by the typescript-fetch implementation in swagger-codegen. Fixes https://github.com/OpenAPITools/openapi-generator/issues/1867 * Update modules/openapi-generator/src/main/resources/typescript-node/api-single.mustache Co-Authored-By: silasbw <silasbw@gmail.com> * Update modules/openapi-generator/src/main/resources/typescript-node/api-single.mustache Co-Authored-By: silasbw <silasbw@gmail.com> * Update Petstore sample * Fix types * update "npm" petstore example * Rename