haseebnqureshi / serverless-hq

Serverless made quick & easy. This is your home base for quick & powerfully easy scaffolding for your next Serverless project.
MIT License
10 stars 2 forks source link

Creating CRUD resource with title case creates erroneous HTTP paths #15

Closed haseebnqureshi closed 7 years ago

haseebnqureshi commented 7 years ago

Serverless HTTP paths should all be lowercase, to avoid any potential conflicts and confusion - regardless whether name of resource is in title or lowercase.

haseebnqureshi commented 7 years ago

Look into title casing again. This was good, but let's also make everything lowercase, whereas the name of the model is title case. So when we create our DynamoDB resource, that suffix should be lowercase, too.