From e8711cc75a35566179de3e6b1333d250252ef121 Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Wed, 29 Apr 2026 06:47:40 +0000 Subject: [PATCH 1/2] Generate intake --- services/intake/oas_commit | 2 +- services/intake/v1betaapi/model_catalog_auth_type.go | 9 ++++++--- services/intake/v1betaapi/model_partitioning_type.go | 11 +++++++---- .../v1betaapi/model_partitioning_update_type.go | 11 +++++++---- services/intake/v1betaapi/model_user_type.go | 9 ++++++--- 5 files changed, 27 insertions(+), 15 deletions(-) diff --git a/services/intake/oas_commit b/services/intake/oas_commit index 3417bbd13..6fdb25c73 100644 --- a/services/intake/oas_commit +++ b/services/intake/oas_commit @@ -1 +1 @@ -9918ffafed202332f2a1a5698aafa60eed59886f +c8e6adbf2c24050dca06a64b301b3a43ba28be6e diff --git a/services/intake/v1betaapi/model_catalog_auth_type.go b/services/intake/v1betaapi/model_catalog_auth_type.go index 70d4908a5..fa40de2ed 100644 --- a/services/intake/v1betaapi/model_catalog_auth_type.go +++ b/services/intake/v1betaapi/model_catalog_auth_type.go @@ -20,14 +20,16 @@ type CatalogAuthType string // List of catalogAuthType const ( - CATALOGAUTHTYPE_NONE CatalogAuthType = "none" - CATALOGAUTHTYPE_DREMIO CatalogAuthType = "dremio" + CATALOGAUTHTYPE_NONE CatalogAuthType = "none" + CATALOGAUTHTYPE_DREMIO CatalogAuthType = "dremio" + CATALOGAUTHTYPE_UNKNOWN_DEFAULT_OPEN_API CatalogAuthType = "unknown_default_open_api" ) // All allowed values of CatalogAuthType enum var AllowedCatalogAuthTypeEnumValues = []CatalogAuthType{ "none", "dremio", + "unknown_default_open_api", } func (v *CatalogAuthType) UnmarshalJSON(src []byte) error { @@ -44,7 +46,8 @@ func (v *CatalogAuthType) UnmarshalJSON(src []byte) error { } } - return fmt.Errorf("%+v is not a valid CatalogAuthType", value) + *v = CATALOGAUTHTYPE_UNKNOWN_DEFAULT_OPEN_API + return nil } // NewCatalogAuthTypeFromValue returns a pointer to a valid CatalogAuthType diff --git a/services/intake/v1betaapi/model_partitioning_type.go b/services/intake/v1betaapi/model_partitioning_type.go index 51532f66f..fb22f280d 100644 --- a/services/intake/v1betaapi/model_partitioning_type.go +++ b/services/intake/v1betaapi/model_partitioning_type.go @@ -20,9 +20,10 @@ type PartitioningType string // List of partitioningType const ( - PARTITIONINGTYPE_NONE PartitioningType = "none" - PARTITIONINGTYPE_INTAKE_TIME PartitioningType = "intake-time" - PARTITIONINGTYPE_MANUAL PartitioningType = "manual" + PARTITIONINGTYPE_NONE PartitioningType = "none" + PARTITIONINGTYPE_INTAKE_TIME PartitioningType = "intake-time" + PARTITIONINGTYPE_MANUAL PartitioningType = "manual" + PARTITIONINGTYPE_UNKNOWN_DEFAULT_OPEN_API PartitioningType = "unknown_default_open_api" ) // All allowed values of PartitioningType enum @@ -30,6 +31,7 @@ var AllowedPartitioningTypeEnumValues = []PartitioningType{ "none", "intake-time", "manual", + "unknown_default_open_api", } func (v *PartitioningType) UnmarshalJSON(src []byte) error { @@ -46,7 +48,8 @@ func (v *PartitioningType) UnmarshalJSON(src []byte) error { } } - return fmt.Errorf("%+v is not a valid PartitioningType", value) + *v = PARTITIONINGTYPE_UNKNOWN_DEFAULT_OPEN_API + return nil } // NewPartitioningTypeFromValue returns a pointer to a valid PartitioningType diff --git a/services/intake/v1betaapi/model_partitioning_update_type.go b/services/intake/v1betaapi/model_partitioning_update_type.go index b352de0c6..1206c8453 100644 --- a/services/intake/v1betaapi/model_partitioning_update_type.go +++ b/services/intake/v1betaapi/model_partitioning_update_type.go @@ -20,9 +20,10 @@ type PartitioningUpdateType string // List of partitioningUpdateType const ( - PARTITIONINGUPDATETYPE_NONE PartitioningUpdateType = "none" - PARTITIONINGUPDATETYPE_INTAKE_TIME PartitioningUpdateType = "intake-time" - PARTITIONINGUPDATETYPE_MANUAL PartitioningUpdateType = "manual" + PARTITIONINGUPDATETYPE_NONE PartitioningUpdateType = "none" + PARTITIONINGUPDATETYPE_INTAKE_TIME PartitioningUpdateType = "intake-time" + PARTITIONINGUPDATETYPE_MANUAL PartitioningUpdateType = "manual" + PARTITIONINGUPDATETYPE_UNKNOWN_DEFAULT_OPEN_API PartitioningUpdateType = "unknown_default_open_api" ) // All allowed values of PartitioningUpdateType enum @@ -30,6 +31,7 @@ var AllowedPartitioningUpdateTypeEnumValues = []PartitioningUpdateType{ "none", "intake-time", "manual", + "unknown_default_open_api", } func (v *PartitioningUpdateType) UnmarshalJSON(src []byte) error { @@ -46,7 +48,8 @@ func (v *PartitioningUpdateType) UnmarshalJSON(src []byte) error { } } - return fmt.Errorf("%+v is not a valid PartitioningUpdateType", value) + *v = PARTITIONINGUPDATETYPE_UNKNOWN_DEFAULT_OPEN_API + return nil } // NewPartitioningUpdateTypeFromValue returns a pointer to a valid PartitioningUpdateType diff --git a/services/intake/v1betaapi/model_user_type.go b/services/intake/v1betaapi/model_user_type.go index f93eb50bb..3ec17f0a0 100644 --- a/services/intake/v1betaapi/model_user_type.go +++ b/services/intake/v1betaapi/model_user_type.go @@ -20,14 +20,16 @@ type UserType string // List of userType const ( - USERTYPE_INTAKE UserType = "intake" - USERTYPE_DEAD_LETTER UserType = "dead-letter" + USERTYPE_INTAKE UserType = "intake" + USERTYPE_DEAD_LETTER UserType = "dead-letter" + USERTYPE_UNKNOWN_DEFAULT_OPEN_API UserType = "unknown_default_open_api" ) // All allowed values of UserType enum var AllowedUserTypeEnumValues = []UserType{ "intake", "dead-letter", + "unknown_default_open_api", } func (v *UserType) UnmarshalJSON(src []byte) error { @@ -44,7 +46,8 @@ func (v *UserType) UnmarshalJSON(src []byte) error { } } - return fmt.Errorf("%+v is not a valid UserType", value) + *v = USERTYPE_UNKNOWN_DEFAULT_OPEN_API + return nil } // NewUserTypeFromValue returns a pointer to a valid UserType From 21110b045e3b4d1b69f7acc4b33a5f392094c0b9 Mon Sep 17 00:00:00 2001 From: Marcel Jacek Date: Wed, 29 Apr 2026 09:15:52 +0200 Subject: [PATCH 2/2] add changelog entries --- CHANGELOG.md | 11 +++++++---- services/intake/CHANGELOG.md | 3 +++ services/intake/VERSION | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 314c19a58..0eeb2d311 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,9 @@ ## Release (2026-MM-DD) -- `core`: [v0.26.0](core/CHANGELOG.md#v0260) - - **Feature:** Added support for custom `TokenEndpoint` in service account credentials. -- `core`: [v0.25.0](core/CHANGELOG.md#v0250) - - Minimal go version is now Go 1.25 +- `core`: + - [v0.25.0](core/CHANGELOG.md#v0250) + - Minimal go version is now Go 1.25 + - [v0.26.0](core/CHANGELOG.md#v0260) + - **Feature:** Added support for custom `TokenEndpoint` in service account credentials. - `alb`: - [v0.13.2](services/alb/CHANGELOG.md#v0132) - **Dependencies:** Bump STACKIT SDK core module from `v0.24.0` to `v0.24.1` @@ -132,6 +133,8 @@ - **Dependencies:** Bump STACKIT SDK core module from `v0.24.1` to `v0.25.0` - [v0.8.2](services/intake/CHANGELOG.md#v082) - **Dependencies:** Bump STACKIT SDK core module from `v0.25.0` to `v0.26.0` + - [v0.9.0](services/intake/CHANGELOG.md#v090) + - **Feature:** Added `_UNKNOWN_DEFAULT_OPEN_API` fallback value to all enums to handle unknown API values gracefully. - `kms`: - [v1.6.2](services/kms/CHANGELOG.md#v162) - **Dependencies:** Bump STACKIT SDK core module from `v0.24.0` to `v0.24.1` diff --git a/services/intake/CHANGELOG.md b/services/intake/CHANGELOG.md index 41253f590..6067e030b 100644 --- a/services/intake/CHANGELOG.md +++ b/services/intake/CHANGELOG.md @@ -1,3 +1,6 @@ +## v0.9.0 +- **Feature:** Added `_UNKNOWN_DEFAULT_OPEN_API` fallback value to all enums to handle unknown API values gracefully. + ## v0.8.2 - **Dependencies:** Bump STACKIT SDK core module from `v0.25.0` to `v0.26.0` diff --git a/services/intake/VERSION b/services/intake/VERSION index 349ca0e14..7965b36d6 100644 --- a/services/intake/VERSION +++ b/services/intake/VERSION @@ -1 +1 @@ -v0.8.1 \ No newline at end of file +v0.9.0 \ No newline at end of file