Expanded version of #5412
We are looking to expose some new API's in #3709 and I think we should discuss how we should be casing the urls, query string parameters, and bodies.
Options:
| # |
path |
query string |
body |
| 1 |
one-word/camelCase |
camelCase |
camelCase |
| 2 |
one-word/snake_case |
snake_case |
snake_case |
| 3 |
snake_case |
snake_case |
camelCase |
| 4 |
kebab-case |
kebab-case |
camelCase |
| 5 |
kebab-case |
snake_case |
camelCase |
In the wild:
| name |
style |
| elasticsearch |
2 |
| Github |
3 |
| Facebook |
mostly one-word, kebab-case for one, snake_case for others |
| Google |
mix of all |
| ... |
feel free to add more |
What do you think?
Expanded version of #5412
We are looking to expose some new API's in #3709 and I think we should discuss how we should be casing the urls, query string parameters, and bodies.
Options:
In the wild:
What do you think?