From 76dde2d67eed5d5dc428a209c9e60283ef3da36d Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Wed, 8 Jan 2025 14:45:19 +0000 Subject: [PATCH 1/2] Generate authorization --- services/authorization/configuration.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/services/authorization/configuration.go b/services/authorization/configuration.go index 0b01a4f8d..6dbacd3e4 100644 --- a/services/authorization/configuration.go +++ b/services/authorization/configuration.go @@ -22,12 +22,16 @@ func NewConfiguration() *config.Configuration { Debug: false, Servers: config.ServerConfigurations{ { - URL: "https://authorization.api.stackit.cloud", + URL: "https://authorization.api.{region}stackit.cloud", Description: "No description provided", Variables: map[string]config.ServerVariable{ "region": { Description: "No description provided", - DefaultValue: "global", + DefaultValue: "eu01.", + EnumValues: []string{ + "eu01.", + "eu02.", + }, }, }, }, From 122877f3a3a66ed2fc455d547e3fc53e16e94f2f Mon Sep 17 00:00:00 2001 From: Marcel Jacek Date: Thu, 9 Jan 2025 09:43:34 +0100 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG.md | 5 +++++ services/authorization/CHANGELOG.md | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a061174a..9b22dd474 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## Release (2025-XX-XX) + +- `authorization`: [v0.5.0](services/authorization/CHANGELOG.md#v050-2025-01-09) + - **Feature:** Add support for regions in `APIClient` + ## Release (2025-01-07) - `postgresflex`: [0.16.1](services/postgresflex/CHANGELOG.md#v0161-2025-xx-yy) diff --git a/services/authorization/CHANGELOG.md b/services/authorization/CHANGELOG.md index 578013bf6..31b4182ae 100644 --- a/services/authorization/CHANGELOG.md +++ b/services/authorization/CHANGELOG.md @@ -1,3 +1,7 @@ +## v0.5.0 (2025-01-09) + +- Add support for regions in `APIClient` + ## v0.4.1 (2024-12-17) - **Bugfix:** Correctly handle nullable attributes in model types