比如设计一个 POST 方法的 api,Content-Type 为 application/json,其中
1. 提交的 JSON 数据结构是哪种命名规范?
2. 返回的 JSON 数据结构是哪种命名规范?
另外
3. GET 方法的 api 的 Params 中的 Key 又是哪种命名规范?
这里有一个 Google 的一份 Style Guide 好像是推荐首字母小写的驼峰,https://google.github.io/styleguide/jsoncstyleguide.xml
1. 提交的 JSON 数据结构是哪种命名规范?
2. 返回的 JSON 数据结构是哪种命名规范?
另外
3. GET 方法的 api 的 Params 中的 Key 又是哪种命名规范?
这里有一个 Google 的一份 Style Guide 好像是推荐首字母小写的驼峰,https://google.github.io/styleguide/jsoncstyleguide.xml