go-zero icon indicating copy to clipboard operation
go-zero copied to clipboard

gozero swagger

Open quan-xiansheng opened this issue 1 year ago • 3 comments

go-zero doesn't seem to work well with swagger's plugins, such as uniformly returning objects {code,data,message}, which requires users to add fields everywhere in the.api file. Developers have raised this issue, but go-zero doesn't seem to care about it.

quan-xiansheng avatar Sep 15 '23 01:09 quan-xiansheng

using import ? https://go-zero.dev/docs/tutorials/api/import

yiGmMk avatar Sep 26 '23 01:09 yiGmMk

我重写了一个swagger插件,你看看是否适用 https://github.com/henryjhenry/goctl-swagger

henryjhenry avatar Apr 23 '24 07:04 henryjhenry

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


I rewrote a swagger plug-in, please see if it applies https://github.com/henryjhenry/goctl-swagger

Issues-translate-bot avatar Apr 23 '24 07:04 Issues-translate-bot