http://www.jianshu.com/p/b6577a0eb9fc
swagger-vue
牛逼啊
swagger这个玩意做API的doc贼好用
他生成了代码。。
我试了下官方go的
我靠
go-server-server-generated.zip
4.42KB
go-client-generated.zip
21.01KB
Swagger Codegen
http://github.com/swagger-api/swagger-codegen.git
swagger-codegen contains a template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI / Swagger definition. http://swagger.io
http://developerworks.github.io/2014/07/30/use-swagger-codegen/#more
看着做很久了。。