You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FTLLOVE
changed the title
if env is production,swagger or openapi set auth config,eg: auth or password
cmd/gf: if env is production,swagger or openapi set auth config,eg: auth or password
Oct 29, 2024
I spent two hours thinking and figured out, he wants an authentication mechanism for swagger api path when he takes the whole project online in public.
We might provide basic auth mechanism in ghttp.Server/Request/Respose to validate the visitor.
Hello @FTLLOVE. We like your proposal/feedback and would appreciate a contribution via a Pull Request by you or another community member. We thank you in advance for your contribution and are looking forward to reviewing it!
你好 @FTLLOVE。我们喜欢您的提案/反馈,并希望您或其他社区成员通过拉取请求做出贡献。我们提前感谢您的贡献,并期待对其进行审查。
What do you want to ask?
swagger setting auth config
The text was updated successfully, but these errors were encountered: