wcandillon / swagger-js-codegen

A Swagger Codegen for typescript, nodejs & angularjs
Apache License 2.0
693 stars 286 forks source link

x-swagger-js-method-name got lost? #142

Open leachiM2k opened 8 years ago

leachiM2k commented 8 years ago

Hey,

I've updated my code-generator dependencies to the newest swagger-js-codegen and figured out, that the support for x-swagger-js-method-name has been removed. Because you still mention it in README.md I did some research and found out that this feature was removed by the commit d89298baff2402ea0208cdc5129047ca403f1ee2 and then shipped with versions > 1.2.0

If it happened accidently I would like to see it back again. My generated clients need this function and I would appreciate to use all the new features and bug fixes since 1.1.8 ;-)

Cheers leachiM2k

bradleat commented 7 years ago

I think it was removed because it was redundant. You are supposed to use operationId in your swagger yaml.