Hi,
I'm using DarkaOnLine/SwaggerLume in my Lumen project. Everything works fine except the Authorization. I'm using JWT authentication and I want to pass a Bearer .
I've added following codes:
- @oas\SecurityScheme(
-
securityScheme="bearerAuth",
-
-
-
- )
**/
and
/**
* @OA\Get(
* tags={"User Managment"},
* path="/getusers",
* description="",
* summary="Get users list",
* operationId="getUsers",
* @OA\Response(
* response=200,
* description="Users Listed",
* ),
* security : { bearerAuth: []}
* )
*/
But still I'm getting token not provided issue.
Please feedback.
Thanks
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Hi,
I'm using DarkaOnLine/SwaggerLume in my Lumen project. Everything works fine except the Authorization. I'm using JWT authentication and I want to pass a Bearer .
I've added following codes:
**/
and
/**
* @OA\Get(
* tags={"User Managment"},
* path="/getusers",
* description="",
* summary="Get users list",
* operationId="getUsers",
* @OA\Response(
* response=200,
* description="Users Listed",
* ),
* security : { bearerAuth: []}
* )
*/
But still I'm getting token not provided issue.
Please feedback.
Thanks
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.