Skip to content

Commit 9f62227

Browse files
committed
Add missing authorizations: headers
1 parent 8e65533 commit 9f62227

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/views/grape_swagger_rails/application/index.html.erb

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
dom_id: "swagger-ui-container",
2121
supportHeaderParams: true,
2222
supportedSubmitMethods: ['get', 'post', 'put', 'delete', 'patch'],
23+
authorizations: headers,
2324
onComplete: function(swaggerApi, swaggerUi){
2425
if('console' in window) {
2526
console.log("Loaded SwaggerUI")

0 commit comments

Comments
 (0)