In building code that is reusable and concise, I was creating functions to build the Format string and the API Versioning string. https://www.carriots...#api-versioning
I noticed that the root of the format and versioning string are different.
Format: application/xml or application/vnd.carriots.api.v2+xml
API Versioning: application/vnd.carriots+xml or application/vnd.carriots.v2+xml
Can or should these be the same? That is, should both elements be "application/vnd.carriots" and then the remainder of the version and format?