wcandillon / swagger-js-codegen

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

Support for 2.0 spec path parameters #16

Closed vagh27 closed 10 years ago

vagh27 commented 10 years ago

The codegen throws an error whenever a path parameter is used in the 2.0 spec: Error: Expected an assignment or function call and instead saw an expression.

wcandillon commented 10 years ago

@vagh27 Thanks a lot for reporting this. Do you have a swagger 2.0 file with path parameter that I could add to the test suite?

wcandillon commented 10 years ago

@vagh27 this should be fixed in 0.2.4. Please reopen if it doesn't work.