From 1c38500951735c446bfa417902d34daf6f5c7f5a Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Thu, 18 Dec 2025 17:08:21 +0000 Subject: [PATCH 1/2] Generate mongodbflex --- services/mongodbflex/model_create_user_payload.go | 2 +- services/mongodbflex/model_partial_update_user_payload.go | 2 +- services/mongodbflex/model_update_user_payload.go | 2 +- services/mongodbflex/model_user.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/services/mongodbflex/model_create_user_payload.go b/services/mongodbflex/model_create_user_payload.go index 72ddbb3ee..e0b8468cb 100644 --- a/services/mongodbflex/model_create_user_payload.go +++ b/services/mongodbflex/model_create_user_payload.go @@ -83,7 +83,7 @@ type CreateUserPayloadGetUsernameRetType = string type CreateUserPayload struct { // REQUIRED Database CreateUserPayloadGetDatabaseAttributeType `json:"database" required:"true"` - // The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.** + // The roles defined for a user. Currently only one role in the list is supported, therefore only the first role from this list is used. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.** // REQUIRED Roles CreateUserPayloadGetRolesAttributeType `json:"roles" required:"true"` Username CreateUserPayloadGetUsernameAttributeType `json:"username,omitempty"` diff --git a/services/mongodbflex/model_partial_update_user_payload.go b/services/mongodbflex/model_partial_update_user_payload.go index b608d9c2a..99eaa9765 100644 --- a/services/mongodbflex/model_partial_update_user_payload.go +++ b/services/mongodbflex/model_partial_update_user_payload.go @@ -61,7 +61,7 @@ func setPartialUpdateUserPayloadGetRolesAttributeType(arg *PartialUpdateUserPayl // PartialUpdateUserPayload struct for PartialUpdateUserPayload type PartialUpdateUserPayload struct { Database PartialUpdateUserPayloadGetDatabaseAttributeType `json:"database,omitempty"` - // The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.** + // The roles defined for a user. Currently only one role in the list is supported, therefore only the first role from this list is used. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.** Roles PartialUpdateUserPayloadGetRolesAttributeType `json:"roles,omitempty"` } diff --git a/services/mongodbflex/model_update_user_payload.go b/services/mongodbflex/model_update_user_payload.go index 0ae1d61c5..822bafb5e 100644 --- a/services/mongodbflex/model_update_user_payload.go +++ b/services/mongodbflex/model_update_user_payload.go @@ -62,7 +62,7 @@ func setUpdateUserPayloadGetRolesAttributeType(arg *UpdateUserPayloadGetRolesAtt type UpdateUserPayload struct { // REQUIRED Database UpdateUserPayloadGetDatabaseAttributeType `json:"database" required:"true"` - // The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.** + // The roles defined for a user. Currently only one role in the list is supported, therefore only the first role from this list is used. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.** // REQUIRED Roles UpdateUserPayloadGetRolesAttributeType `json:"roles" required:"true"` } diff --git a/services/mongodbflex/model_user.go b/services/mongodbflex/model_user.go index 0d7327c92..c11f8d991 100644 --- a/services/mongodbflex/model_user.go +++ b/services/mongodbflex/model_user.go @@ -190,7 +190,7 @@ type User struct { Id UserGetIdAttributeType `json:"id,omitempty"` Password UserGetPasswordAttributeType `json:"password,omitempty"` Port UserGetPortAttributeType `json:"port,omitempty"` - // The roles defined for a user. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.** + // The roles defined for a user. Currently only one role in the list is supported, therefore only the first role from this list is used. The *roles* attribute can contain the following values: 'read', 'readWrite', 'readAnyDatabase', 'readWriteAnyDatabase', 'stackitAdmin'. **The 'readAnyDatabase', 'readWriteAnyDatabase' and 'stackitAdmin' roles will always be created in the admin database.** Roles UserGetRolesAttributeType `json:"roles,omitempty"` Uri UserGetUriAttributeType `json:"uri,omitempty"` Username UserGetUsernameAttributeType `json:"username,omitempty"` From 559182c48da5dc6fd84291aec28bc46aad2bb1de Mon Sep 17 00:00:00 2001 From: Marcel Jacek Date: Fri, 19 Dec 2025 09:37:38 +0100 Subject: [PATCH 2/2] add changelogs --- CHANGELOG.md | 2 ++ services/mongodbflex/CHANGELOG.md | 3 +++ services/mongodbflex/VERSION | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 55863519b..6ce3b101e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,8 @@ - Bump STACKIT SDK core module from `v0.20.0` to `v0.20.1` - [v0.1.0](services/logs/CHANGELOG.md#v010) - **New:** API for logs service +- `mongodbflex`: [v1.5.5](services/mongodbflex/CHANGELOG.md#v155) + - **Docs:** Extend description of `Roles` field in `CreateUserPayload`, `PartialUpdateUserPayload`, `UpdateUserPayload` and `User` model ## Release (2025-12-05) - `alb`: diff --git a/services/mongodbflex/CHANGELOG.md b/services/mongodbflex/CHANGELOG.md index 22256f47e..4938d7264 100644 --- a/services/mongodbflex/CHANGELOG.md +++ b/services/mongodbflex/CHANGELOG.md @@ -1,3 +1,6 @@ +## v1.5.5 +- **Docs:** Extend description of `Roles` field in `CreateUserPayload`, `PartialUpdateUserPayload`, `UpdateUserPayload` and `User` model + ## v1.5.4 - Bump STACKIT SDK core module from `v0.20.0` to `v0.20.1` diff --git a/services/mongodbflex/VERSION b/services/mongodbflex/VERSION index b4e17366c..c5c4119ee 100644 --- a/services/mongodbflex/VERSION +++ b/services/mongodbflex/VERSION @@ -1 +1 @@ -v1.5.4 \ No newline at end of file +v1.5.5 \ No newline at end of file