Answers for "how to pass bearer token in swagger in laravel"

PHP
0

how to pass bearer token in swagger in laravel

'bearer_token' => [ // Unique name of security
   'type' => 'apiKey', // Valid values are "basic", "apiKey" or "oauth2".
   'description' => 'Enter token in format (Bearer <token>)',
   'name' => 'Authorization', // The name of the header or query parameter to be used.
   'in' => 'header', // The location of the API key. Valid values are "query" or "header".
],
Posted by: Guest on March-12-2021
0

how to pass bearer token in swagger in laravel

/**
     * @OA\Get(
     * ...
     *     security={{"bearer_token":{}}}
     * ...
     * )
     */
Posted by: Guest on March-12-2021

Code answers related to "how to pass bearer token in swagger in laravel"

Browse Popular Code Answers by Language