1'bearer_token' => [ // Unique name of security
2 'type' => 'apiKey', // Valid values are "basic", "apiKey" or "oauth2".
3 'description' => 'Enter token in format (Bearer <token>)',
4 'name' => 'Authorization', // The name of the header or query parameter to be used.
5 'in' => 'header', // The location of the API key. Valid values are "query" or "header".
6],
7
1 /**
2 * @OA\Get(
3 * ...
4 * security={{"bearer_token":{}}}
5 * ...
6 * )
7 */
8