We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"securityDefinitions": { "apiKey": { "type": "apiKey", "description": "Enter JWT Bearer token **_only_**", "name": "Authorization", # 有时会使用自定义的 key "in": "header" } }
The text was updated successfully, but these errors were encountered:
在你的工具中已经写死了
goctl-swagger/generate/parser.go
Line 84 in a78fb7b
Sorry, something went wrong.
好像是没人维护了
@MaxToby PTAL.
我基于这个重新写了插件,支持了这个,你可以试试:
go install github.com/xing393939/gotools/cmd/gozero-swagger@latest goctl api plugin -plugin gozero-swagger="swagger -host localhost:8888" -api gateway.api -dir . // api文件的@server块这样写: @server( header: token // Authorize name就是token )
No branches or pull requests
The text was updated successfully, but these errors were encountered: