We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e65533 commit 9f62227Copy full SHA for 9f62227
app/views/grape_swagger_rails/application/index.html.erb
@@ -20,6 +20,7 @@
20
dom_id: "swagger-ui-container",
21
supportHeaderParams: true,
22
supportedSubmitMethods: ['get', 'post', 'put', 'delete', 'patch'],
23
+ authorizations: headers,
24
onComplete: function(swaggerApi, swaggerUi){
25
if('console' in window) {
26
console.log("Loaded SwaggerUI")
0 commit comments