pmu-tech / stub-server

Stub server for REST APIs
MIT License
12 stars 2 forks source link

Force the use of GET, POST, PUT... instead of get, post, put... #25

Closed tkrotoff closed 2 years ago

tkrotoff commented 3 years ago

By using uppercase (GET, POST, PUT...) it better describes that it is HTTP verbs.

And it removes some code: https://github.com/pmu-tech/stub-server/blob/v0.3.4/src/stubServer.ts#L68-L69

tkrotoff commented 2 years ago

Done in https://github.com/pmu-tech/stub-server/pull/34, v0.5.0