Skip to content

Commit a76132b

Browse files
author
Vignesh C
committed
jwt security token bug fix for all api calls
1 parent f6f4b7c commit a76132b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Generator.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,9 @@ protected function addAuthParameters($middlewares)
251251
});
252252
if($hasAuth) {
253253
$this->docs['paths'][$this->uri][$this->method]['security'] = [
254-
'api_key' => []
254+
[
255+
'api_key' => []
256+
]
255257
];
256258
}
257259
break;

0 commit comments

Comments
 (0)