swagger-typescript-api
swagger-typescript-api copied to clipboard
Why are all routes appended with List ?
As title says, why are all the routes appended with List?
e.g.:
dashboard.intangibleValueList
wouldnt it make more sense to append with the request type? E.g. Post, Get?
dashboard.intangibleValueGet
and is there a way to change this?
and is there a way to change this?
yes, you can change methodAliases inner functions return values for this in base route-names template https://github.com/acacode/swagger-typescript-api/blob/master/templates/base/route-name.eta
methodAliases
Url is broken, working url: https://github.com/acacode/swagger-typescript-api/blob/next/templates/base/route-name.ejs