Authorization in swagger

197 views
Skip to first unread message

ankita bhardwaj

unread,
Nov 28, 2018, 11:34:05 PM11/28/18
to Swagger
Hi All,

I want to know about the authorization in swagger.

I want my apis to lock until I do some authentication. As soon as the authentication is done, APIs should be unlocked to use.

How can I achieve this?
I have tried security definiions inside swagger like this-

"securityDefinitions": {
"JWT": {
"type": "apiKey",
"name": "Authorization",
"in": "body"
}
After this, authorize button comes but how to proceed further. Please help
Reply all
Reply to author
Forward
0 new messages