I found The solution. to add token to header add follwing code in /config/l5-swagger in security array
\'sanctum\' => [ // Unique name of security \'type\' => \'a