Skip to content

Commit 3b07ac5

Browse files
Generator: Update SDK /services/opensearch (#1292)
Co-authored-by: Ruben Hoenle <Ruben.Hoenle@stackit.cloud>
1 parent a01d9a3 commit 3b07ac5

File tree

6 files changed

+23
-6
lines changed

6 files changed

+23
-6
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
- `cdn`: [v1.2.0](services/cdn/CHANGELOG.md#v120)
33
- **Feature:** Add `default_cache_duration` attribute to `Config`, `ConfigPatch` and `CreateDistributionPayload` model
44
- Add `originUrlRelated` to available options given in `sort_by` description
5+
- `opensearch`: [v0.3.0](services/opensearch/CHANGELOG.md#v030)
6+
- **Breaking change:** Attribute `tls_protocols` of `InstanceParameters` model is now of type `List[StrictStr]` (previously `StrictStr`)
7+
- `stackitmarketplace`: [v1.4.0](services/stackitmarketplace/CHANGELOG.md#v140)
8+
- **Feature:** Add support for offer types
9+
- new model `OfferType`
10+
- new attribute `CatalogProductDetail` for `CatalogProductDetail` model
11+
- Attribute `is_product_listing` in `CatalogProductDetail` is now of type `Optional[StrictBool]` (previously `StrictBool`)
512

613
## Release (2025-06-16)
714
- `core`: [v0.2.0](core/CHANGELOG.md#v020-2025-06-12)

services/opensearch/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v0.3.0
2+
- **Breaking change:** Attribute `tls_protocols` of `InstanceParameters` model is now of type `List[StrictStr]` (previously `StrictStr`)
3+
14
## v0.2.1 (2025-05-09)
25
- **Feature:** Update user-agent header
36

services/opensearch/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "stackit-opensearch"
33

44
[tool.poetry]
55
name = "stackit-opensearch"
6-
version = "v0.2.1"
6+
version = "v0.3.0"
77
authors = [
88
"STACKIT Developer Tools <developer-tools@stackit.cloud>",
99
]

services/opensearch/src/stackit/opensearch/models/instance_parameters.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class InstanceParameters(BaseModel):
7171
tls_ciphers: Optional[List[StrictStr]] = Field(
7272
default=None, description="Only Java format is supported.", alias="tls-ciphers"
7373
)
74-
tls_protocols: Optional[StrictStr] = Field(default=None, alias="tls-protocols")
74+
tls_protocols: Optional[List[StrictStr]] = Field(default=None, alias="tls-protocols")
7575
__properties: ClassVar[List[str]] = [
7676
"enable_monitoring",
7777
"graphite",
@@ -120,8 +120,9 @@ def tls_protocols_validate_enum(cls, value):
120120
if value is None:
121121
return value
122122

123-
if value not in set(["TLSv1.2", "TLSv1.3"]):
124-
raise ValueError("must be one of enum values ('TLSv1.2', 'TLSv1.3')")
123+
for i in value:
124+
if i not in set(["TLSv1.2", "TLSv1.3"]):
125+
raise ValueError("each list item must be one of ('TLSv1.2', 'TLSv1.3')")
125126
return value
126127

127128
model_config = ConfigDict(

services/stackitmarketplace/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## v1.4.0
2+
- **Feature:** Add support for offer types
3+
- new model `OfferType`
4+
- new attribute `CatalogProductDetail` for `CatalogProductDetail` model
5+
- Attribute `is_product_listing` in `CatalogProductDetail` is now of type `Optional[StrictBool]` (previously `StrictBool`)
6+
17
## v1.3.0 (2025-06-10)
28
- **Feature:** Add new field `facets` in `ListCatalogProductsResponse`
39

services/stackitmarketplace/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "stackit-stackitmarketplace"
33

44
[tool.poetry]
55
name = "stackit-stackitmarketplace"
6-
version = "v1.3.0"
6+
version = "v1.4.0"
77
authors = [
88
"STACKIT Developer Tools <developer-tools@stackit.cloud>",
99
]
@@ -105,4 +105,4 @@ per-file-ignores = """
105105
# E501: long descriptions/string values might lead to lines that are too long
106106
# B028: stacklevel for deprecation warning is irrelevant
107107
./src/stackit/*/api/default_api.py: F841,B028,E501
108-
"""
108+
"""

0 commit comments

Comments
 (0)