Introduce the option for the library to automatically convert resource names from camelCase to conventional REST casing.
For non-parameters, this would be dash-case. For parameters, this would be snake_case.
By default, this behaviour could be disabled. It could be enabled by specifying one or more options to a RestServer instance.
This feature would make it easier to use camelCase in ordinary code, as is conventional in JavaScript, while at the same time having the actual resource names at runtime be in conventional REST casing.
Introduce the option for the library to automatically convert resource names from
camelCaseto conventional REST casing.For non-parameters, this would be
dash-case. For parameters, this would besnake_case.By default, this behaviour could be disabled. It could be enabled by specifying one or more options to a
RestServerinstance.This feature would make it easier to use
camelCasein ordinary code, as is conventional in JavaScript, while at the same time having the actual resource names at runtime be in conventional REST casing.