Skip to content

Generator: Update SDK /services/opensearch #1292

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
- `cdn`: [v1.2.0](services/cdn/CHANGELOG.md#v120)
- **Feature:** Add `default_cache_duration` attribute to `Config`, `ConfigPatch` and `CreateDistributionPayload` model
- Add `originUrlRelated` to available options given in `sort_by` description
- `opensearch`: [v0.3.0](services/opensearch/CHANGELOG.md#v030)
- **Breaking change:** Attribute `tls_protocols` of `InstanceParameters` model is now of type `List[StrictStr]` (previously `StrictStr`)
- `stackitmarketplace`: [v1.4.0](services/stackitmarketplace/CHANGELOG.md#v140)
- **Feature:** Add support for offer types
- new model `OfferType`
- new attribute `CatalogProductDetail` for `CatalogProductDetail` model
- Attribute `is_product_listing` in `CatalogProductDetail` is now of type `Optional[StrictBool]` (previously `StrictBool`)

## Release (2025-06-16)
- `core`: [v0.2.0](core/CHANGELOG.md#v020-2025-06-12)
Expand Down
3 changes: 3 additions & 0 deletions services/opensearch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v0.3.0
- **Breaking change:** Attribute `tls_protocols` of `InstanceParameters` model is now of type `List[StrictStr]` (previously `StrictStr`)

## v0.2.1 (2025-05-09)
- **Feature:** Update user-agent header

Expand Down
2 changes: 1 addition & 1 deletion services/opensearch/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "stackit-opensearch"

[tool.poetry]
name = "stackit-opensearch"
version = "v0.2.1"
version = "v0.3.0"
authors = [
"STACKIT Developer Tools <developer-tools@stackit.cloud>",
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class InstanceParameters(BaseModel):
tls_ciphers: Optional[List[StrictStr]] = Field(
default=None, description="Only Java format is supported.", alias="tls-ciphers"
)
tls_protocols: Optional[StrictStr] = Field(default=None, alias="tls-protocols")
tls_protocols: Optional[List[StrictStr]] = Field(default=None, alias="tls-protocols")
__properties: ClassVar[List[str]] = [
"enable_monitoring",
"graphite",
Expand Down Expand Up @@ -120,8 +120,9 @@ def tls_protocols_validate_enum(cls, value):
if value is None:
return value

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

model_config = ConfigDict(
Expand Down
6 changes: 6 additions & 0 deletions services/stackitmarketplace/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## v1.4.0
- **Feature:** Add support for offer types
- new model `OfferType`
- new attribute `CatalogProductDetail` for `CatalogProductDetail` model
- Attribute `is_product_listing` in `CatalogProductDetail` is now of type `Optional[StrictBool]` (previously `StrictBool`)

## v1.3.0 (2025-06-10)
- **Feature:** Add new field `facets` in `ListCatalogProductsResponse`

Expand Down
4 changes: 2 additions & 2 deletions services/stackitmarketplace/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "stackit-stackitmarketplace"

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