Invalid Parameter Naming Case (TypeScript-Angular2) (Swagger-Codegen 2.2.2)
Description
Parameter for API functions generated by Swagger-codegen is invalid.

Swagger-codegen version
2.2.2
Swagger declaration file content or url
Command line used for generation
-c config.json -l typescript-angular2
Config.json: { "modelPropertyNaming" : "original" }
Steps to reproduce
Related issues
Suggest a Fix
It should follow the parameter naming case (lowercase).
By the way, that string literal should be generated only if I set supportsES6 to true. By default, it is false, so it should not use the template literals like '/${Id}/'
@darius-iko yup, that's a bug. We've fixed similar issues in other generators. I'll try to file a PR shortly to address it.
@wing328 Thank you
By the way, that string literal should be generated if I set supportsES6 to true. By default, it is false.
@darius-iko can you elaborate on that by providing an example (actual output vs expected output)?
@wing328
Expected output:
If the supportsES6 config is false (by default), it should use the old way by replacing the text like below:

Actual output: As seen at the issue posted on the top-most.
@darius-iko can you pull the latest master to give it a try?
https://github.com/swagger-api/swagger-codegen/blob/master/modules/swagger-codegen/src/main/resources/typescript-angular2/api.mustache#L63-L65
Looks like we've fixed it already via https://github.com/swagger-api/swagger-codegen/commit/dbe99c3af92ebc4862e7984a246b9af5e707013d
@wing328 Yes, the latest master has fixed it.
Thanks for the confirmation. Closing the issue.
@wing328 So the version 2.2.2 cannot be used to generate TypeScript-Angular2 code and we have to wait the next version for it? When is the estimated release date for the next version?
Thanks. Version 2.2.3 is out.
@darius-iko yup, please give it a try and let us know if you've further feedback.