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

Service Template Should Return Status rather than Code #17

Closed stnguyen90 closed 6 years ago

stnguyen90 commented 6 years ago

https://github.com/fmvilas/swagger-node-codegen/blob/603511c202f41224832fbef89a4f11199faddfd7/templates/express-server/src/api/services/___.js#L33

code should be status as the comments and routes expect the status property.

fmvilas commented 6 years ago

Thanks for the fix @stnguyen90. I'm closing the issue. Feel free to keep commenting here.