Passing api_key as a parameter while creating SwaggerUIBundle

35 views
Skip to first unread message

Abhishek Chandratre

unread,
Jun 23, 2017, 12:20:06 PM6/23/17
to Swagger
Hello all,
In swagger ui 3.x can we pass api_key as a parameter while creating SwaggerUIBundle?
In swagger ui 2.x we could do it using window.authorizations.add("key", new ApiKeyAuthorization("api_key", key, "header"));

Thank you,
-Abhishek
Reply all
Reply to author
Forward
0 new messages