feat(api): add HTTP Basic Authentication fields to OpenAPI specifications and enhance PrivateKey model descriptions

This commit is contained in:
Andras Bacsai
2025-04-23 11:59:01 +02:00
parent e4648bcf9c
commit 0dceb40a6e
4 changed files with 33 additions and 5 deletions

View File

@@ -17,8 +17,8 @@ use phpseclib3\Crypt\PublicKeyLoader;
'name' => ['type' => 'string'],
'description' => ['type' => 'string'],
'private_key' => ['type' => 'string', 'format' => 'private-key'],
'public_key' => ['type' => 'string'],
'fingerprint' => ['type' => 'string'],
'public_key' => ['type' => 'string', 'description' => 'The public key of the private key.'],
'fingerprint' => ['type' => 'string', 'description' => 'The fingerprint of the private key.'],
'is_git_related' => ['type' => 'boolean'],
'team_id' => ['type' => 'integer'],
'created_at' => ['type' => 'string'],