mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-25 19:10:55 +00:00
* [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