更好的API服务
在你已经在工作中写了很多版本,很多规范的API服务之后,你会发现,后端服务很多共性的工作需要去完成,比如:
1)良好的API说明文档,最好还附带可访问,试一试的服务url
2)为API...routers/router.go中的注释,对应生成的内容
// @APIVersion 1.0.0
// @Title horizon-robotics deep-learning-uni-api-server...Apache 2.0
// @LicenseUrl http://www.apache.org/licenses/LICENSE-2.0.html
router生成的swagger信息
在controller中的注释...我们现在使用的主要是V2的版本,其规范细节如链接。...scalatra, silex-PHP, sinatra, slim, spring, dynamic-html, html2, html, swagger, swagger-yaml, swift4, swift3