go-zero
go-zero copied to clipboard
gozero swagger
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.
using import ? https://go-zero.dev/docs/tutorials/api/import
我重写了一个swagger插件,你看看是否适用 https://github.com/henryjhenry/goctl-swagger
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