swagger
swagger copied to clipboard
Authorization button
Hi @astaxie
The authorization button is not present in the screen. Is there any special config on Beego to enable it? The button exists in http://petstore.swagger.io/
Thanks for the attention and for the awesome job.
@ianrapha yea, beego doesn't implement the auth now.
petstore has these definition.
"securityDefinitions": {
"petstore_auth": {
"type": "oauth2",
"authorizationUrl": "http://petstore.swagger.io/oauth/dialog",
"flow": "implicit",
"scopes": {
"write:pets": "modify pets in your account",
"read:pets": "read your pets"
}
},
"api_key": {
"type": "apiKey",
"name": "api_key",
"in": "header"
}
},
@astaxie @ianrapha Full support for this now if this PR goes through: https://github.com/beego/bee/pull/436 Feel free to use the code if it doesn't get merged.
Is there any plan to support this?