swagger-typescript-codegen
swagger-typescript-codegen copied to clipboard
A Swagger Codegenerator tailored for typescript.
I don't know Mustache well enough, but I think I found a bug in [templates/method.mustache](https://github.com/mtennoe/swagger-typescript-codegen/blob/master/templates/method.mustache): `isBodyParameter` is accessed **outside** of the `{{#parameters}}`loop at both methods in that template: https://github.com/mtennoe/swagger-typescript-codegen/blob/777e5ca3cdef5c0d161e351a1c148b7d6c2e1478/templates/method.mustache#L45 https://github.com/mtennoe/swagger-typescript-codegen/blob/777e5ca3cdef5c0d161e351a1c148b7d6c2e1478/templates/method.mustache#L158
It would be really nice to have this tool support OpenAPI v3.