fmvilas / swagger-node-codegen

An OpenAPI 3.x/Swagger 2 code generator for Node.js
Apache License 2.0
200 stars 55 forks source link

HEAD methods should be before GET methods #46

Closed lion2486 closed 5 years ago

lion2486 commented 5 years ago

Hi, I used the codegen (and it works wonderful). An issue I detected is that the order of the methods should be re-arranged in order to get the HEAD method working (when there is a GET method with the same path). Thank you!

fmvilas commented 5 years ago

Great catch! Would you mind opening a PR fixing this?