From 52d7d88fd6d5a160a7bc2f1ce28ec716f1328e17 Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Fri, 6 Nov 2026 12:37:36 +0100 Subject: [PATCH] docs(api): document Valkey images for Redis databases Co-Authored-By: Claude Opus 5.5 --- app/Http/Controllers/Api/DatabasesController.php | 6 +++--- openapi.json | 6 +++--- openapi.yaml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/Http/Controllers/Api/DatabasesController.php b/app/Http/Controllers/Api/DatabasesController.php index 7bb35ade98..f00c899dfa 100644 --- a/app/Http/Controllers/Api/DatabasesController.php +++ b/app/Http/Controllers/Api/DatabasesController.php @@ -1730,8 +1730,8 @@ class DatabasesController extends Controller } #[OA\Post( - summary: 'Create (Redis)', - description: 'Create a new Redis database.', + summary: 'Create (Redis / Valkey)', + description: 'Create a new Redis or Valkey database. Set image to a Valkey image (for example valkey/valkey:9-alpine) for Valkey.', path: '/databases/redis', operationId: 'create-database-redis', security: [ @@ -1757,7 +1757,7 @@ class DatabasesController extends Controller 'redis_conf' => ['type' => 'string', 'description' => 'Redis conf'], 'name' => ['type' => 'string', 'description' => 'Name of the database'], 'description' => ['type' => 'string', 'description' => 'Description of the database'], - 'image' => ['type' => 'string', 'description' => 'Docker Image of the database'], + 'image' => ['type' => 'string', 'description' => 'Docker image of the database. Default: redis:7.2. For Valkey, use a Valkey image, for example valkey/valkey:9-alpine.'], 'is_public' => ['type' => 'boolean', 'description' => 'Is the database public?'], 'public_port' => ['type' => 'integer', 'description' => 'Public port of the database'], 'public_port_timeout' => ['type' => 'integer', 'description' => 'Public port timeout in seconds (default: 3600)'], diff --git a/openapi.json b/openapi.json index eaa34dc4e6..e74467c402 100644 --- a/openapi.json +++ b/openapi.json @@ -9007,8 +9007,8 @@ "tags": [ "Databases" ], - "summary": "Create (Redis)", - "description": "Create a new Redis database.", + "summary": "Create (Redis \/ Valkey)", + "description": "Create a new Redis or Valkey database. Set image to a Valkey image (for example valkey\/valkey:9-alpine) for Valkey.", "operationId": "create-database-redis", "requestBody": { "description": "Database data", @@ -9059,7 +9059,7 @@ }, "image": { "type": "string", - "description": "Docker Image of the database" + "description": "Docker image of the database. Default: redis:7.2. For Valkey, use a Valkey image, for example valkey\/valkey:9-alpine." }, "is_public": { "type": "boolean", diff --git a/openapi.yaml b/openapi.yaml index ca6a34a477..dcb4c506cd 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -5904,8 +5904,8 @@ paths: post: tags: - Databases - summary: 'Create (Redis)' - description: 'Create a new Redis database.' + summary: 'Create (Redis / Valkey)' + description: 'Create a new Redis or Valkey database. Set image to a Valkey image (for example valkey/valkey:9-alpine) for Valkey.' operationId: create-database-redis requestBody: description: 'Database data' @@ -5946,7 +5946,7 @@ paths: description: 'Description of the database' image: type: string - description: 'Docker Image of the database' + description: 'Docker image of the database. Default: redis:7.2. For Valkey, use a Valkey image, for example valkey/valkey:9-alpine.' is_public: type: boolean description: 'Is the database public?'