leapig edited a comment on issue #329: URL: https://github.com/apache/dubbo-go-pixiu/issues/329#issuecomment-1000970001
1、pixiu有个地方(ui/文件/terminal)给用户手动去添加各种接口文档的定义已经是可以接受了,毕竟在代码里写注解和在另一个地方写注解都是写,pixiu能做到http的请求参数和响应体复用pb定义的message都已经走了很大一步了。go-swagger没法复用pb定义的message生成的struct,多了特别多的冗余代码。 2、基于1,在暴露reset接口时支持用户手动添加额外的信息,例如使用哪个http方法、是否需要鉴权、一些接口字段的补充说明之类的,然后生成在线的接口文档 3、列出请求或响应中用到的所有结构体,如swagger这个 <img width="1527" alt="截屏2021-12-25 下午12 09 21" src="https://user-images.githubusercontent.com/92301116/147377176-2c2d982e-4091-4132-b054-d34ad8ceff40.png"> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
