From 5fde0e295949566fc88711999d6b5c28076b8ab7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 8 Jul 2024 11:29:07 +0200 Subject: [PATCH] chore(update): bump openapi schema (2024-07-08) (#93) Co-authored-by: GitHub --- handler/service/service.go | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/handler/service/service.go b/handler/service/service.go index 4359da8..94b66af 100644 --- a/handler/service/service.go +++ b/handler/service/service.go @@ -895,6 +895,7 @@ type ListProjectServiceTypesOut struct { Opensearch *OpensearchOut `json:"opensearch,omitempty"` // Service type information Pg *PgOut `json:"pg,omitempty"` // Service type information Redis *RedisOut `json:"redis,omitempty"` // Service type information + Valkey *ValkeyOut `json:"valkey,omitempty"` // Service type information } // ListPublicServiceTypesOut Service plans by service type @@ -915,6 +916,7 @@ type ListPublicServiceTypesOut struct { Opensearch *OpensearchOut `json:"opensearch,omitempty"` // Service type information Pg *PgOut `json:"pg,omitempty"` // Service type information Redis *RedisOut `json:"redis,omitempty"` // Service type information + Valkey *ValkeyOut `json:"valkey,omitempty"` // Service type information } type LogOut struct { Msg string `json:"msg"` // Log message @@ -1737,6 +1739,15 @@ type UserOut struct { Username string `json:"username"` // Account username } +// ValkeyOut Service type information +type ValkeyOut struct { + DefaultVersion *string `json:"default_version,omitempty"` // Default version of the service if no explicit version is defined + Description string `json:"description"` // Single line description of the service + LatestAvailableVersion *string `json:"latest_available_version,omitempty"` // Latest available version of the service + ServicePlans []ServicePlanOut `json:"service_plans"` // List of plans available for this type of service + UserConfigSchema map[string]any `json:"user_config_schema"` // JSON-Schema for the 'user_config' properties +} + // listProjectServiceTypesOut ListProjectServiceTypesResponse type listProjectServiceTypesOut struct { ServiceTypes ListProjectServiceTypesOut `json:"service_types"` // Service plans by service type