mtennoe / swagger-typescript-codegen

A Swagger Codegenerator tailored for typescript.
Apache License 2.0
140 stars 52 forks source link

Fix for case where '/' is an endpoint #109

Closed sjwilczynski closed 4 years ago

sjwilczynski commented 4 years ago

Added special case for '/' as an endpoint and created a new test for that

Microsoft Reviewers: Open in CodeFlow
sjwilczynski commented 4 years ago

Should fix this issue.

sjwilczynski commented 4 years ago

I added back a file under the tests/apis as only there it is checked if the generated file compiles, which checks if there are no two same methods generated

mtennoe commented 4 years ago

Merged and published as 3.0.3. Thanks @sjwilczynski!