refactor(api): remove token variable from OpenAPI specifications for clarity

This commit is contained in:
Andras Bacsai
2025-04-22 11:12:30 +02:00
parent 91f2865635
commit 1d52df0e4e
3 changed files with 2 additions and 14 deletions

View File

@@ -5,9 +5,7 @@ namespace App\Http\Controllers\Api;
use OpenApi\Attributes as OA;
#[OA\Info(title: 'Coolify', version: '0.1')]
#[OA\Server(url: 'https://app.coolify.io/api/v1', description: 'Coolify Cloud API. Change the host to your own instance if you are self-hosting.', variables: [
new OA\ServerVariable('token', 'your-coolify-token-here', 'Coolify token for authentication'),
])]
#[OA\Server(url: 'https://app.coolify.io/api/v1', description: 'Coolify Cloud API. Change the host to your own instance if you are self-hosting.')]
#[OA\SecurityScheme(
type: 'http',
scheme: 'bearer',