Coding Conventions

URL

Use Kebab Case

http://example.com/api-v1/customer/123213/payement-methods

Java

You should follow [Java Code Convention])()

For 2 letter abbreviations, Java does not really have a standard, but you should be using mixed case. So it should be “customerId” and not “customerID”.

JSON Property Names

Use Camel Case

{"item": {
  "objectID": "1232343433",
  "filePath": "/foo/bar",
}}

XML element names

Use Kebab Case for element and attribute names.

<user-profile>
    <object id="2222">
    <url path="/foo/bar-and-baz"/>
</user-profile>