From f6c455814df9cf1f509b63d366f7d2abe966f648 Mon Sep 17 00:00:00 2001 From: Murad Biashimov Date: Tue, 26 Nov 2024 11:52:28 +0100 Subject: [PATCH] feat: patch ServiceDatabaseListResponse (#190) --- handler/service/service.go | 4 +++- openapi_patch.yaml | 9 +++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/handler/service/service.go b/handler/service/service.go index 8929c6a..470946b 100644 --- a/handler/service/service.go +++ b/handler/service/service.go @@ -1022,7 +1022,9 @@ type CreateUserBackupIn struct { BackupName string `json:"backup_name"` // The output file name. } type DatabaseOut struct { - DatabaseName string `json:"database_name"` // Database name or ID + DatabaseName string `json:"database_name"` // Database name or ID + LcCollate *string `json:"lc_collate,omitempty"` + LcCtype *string `json:"lc_ctype,omitempty"` } // DatasetImportIn Payload to be used with dataset_import diff --git a/openapi_patch.yaml b/openapi_patch.yaml index 4d92d33..357c964 100644 --- a/openapi_patch.yaml +++ b/openapi_patch.yaml @@ -1,5 +1,14 @@ components: schemas: + ServiceDatabaseListResponse: + properties: + databases: + items: + properties: + lc_ctype: + type: string + lc_collate: + type: string ServiceListResponse: properties: services: