From 68556f667dbd71213b587239a71fe53e85ba7fbe Mon Sep 17 00:00:00 2001 From: SDK Generator Bot Date: Tue, 26 May 2026 14:05:45 +0000 Subject: [PATCH 1/2] Generate vpn --- services/vpn/oas_commit | 2 +- .../stackit/vpn/models/create_gateway_connection_payload.py | 6 ++++++ .../stackit/vpn/models/update_gateway_connection_payload.py | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/services/vpn/oas_commit b/services/vpn/oas_commit index 3bdcef578..05026c103 100644 --- a/services/vpn/oas_commit +++ b/services/vpn/oas_commit @@ -1 +1 @@ -5e44a8a3aa0447f4f0511f53cc4eead9b6e6384e +91111d4871a604207235ce0835c7840677bda134 diff --git a/services/vpn/src/stackit/vpn/models/create_gateway_connection_payload.py b/services/vpn/src/stackit/vpn/models/create_gateway_connection_payload.py index d938507e0..d13799b9a 100644 --- a/services/vpn/src/stackit/vpn/models/create_gateway_connection_payload.py +++ b/services/vpn/src/stackit/vpn/models/create_gateway_connection_payload.py @@ -36,6 +36,10 @@ class CreateGatewayConnectionPayload(BaseModel): enabled: Optional[StrictBool] = Field( default=None, description="This flag decides whether this connection should be enabled or disabled" ) + labels: Optional[Dict[str, Annotated[str, Field(strict=True, max_length=63)]]] = Field( + default=None, + description="Map of custom labels. Key and values must be a string with max 63 chars, start/end with alphanumeric. The key of a label follows the same rules as the `LabelValue` except that it cannot be empty. ", + ) local_subnets: Optional[ Annotated[List[Annotated[str, Field(strict=True)]], Field(min_length=1, max_length=100)] ] = Field( @@ -58,6 +62,7 @@ class CreateGatewayConnectionPayload(BaseModel): __properties: ClassVar[List[str]] = [ "displayName", "enabled", + "labels", "localSubnets", "remoteSubnets", "staticRoutes", @@ -133,6 +138,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: { "displayName": obj.get("displayName"), "enabled": obj.get("enabled"), + "labels": obj.get("labels"), "localSubnets": obj.get("localSubnets"), "remoteSubnets": obj.get("remoteSubnets"), "staticRoutes": obj.get("staticRoutes"), diff --git a/services/vpn/src/stackit/vpn/models/update_gateway_connection_payload.py b/services/vpn/src/stackit/vpn/models/update_gateway_connection_payload.py index 469c9220a..81a183f65 100644 --- a/services/vpn/src/stackit/vpn/models/update_gateway_connection_payload.py +++ b/services/vpn/src/stackit/vpn/models/update_gateway_connection_payload.py @@ -36,6 +36,10 @@ class UpdateGatewayConnectionPayload(BaseModel): enabled: Optional[StrictBool] = Field( default=None, description="This flag decides whether this connection should be enabled or disabled" ) + labels: Optional[Dict[str, Annotated[str, Field(strict=True, max_length=63)]]] = Field( + default=None, + description="Map of custom labels. Key and values must be a string with max 63 chars, start/end with alphanumeric. The key of a label follows the same rules as the `LabelValue` except that it cannot be empty. ", + ) local_subnets: Optional[ Annotated[List[Annotated[str, Field(strict=True)]], Field(min_length=1, max_length=100)] ] = Field( @@ -58,6 +62,7 @@ class UpdateGatewayConnectionPayload(BaseModel): __properties: ClassVar[List[str]] = [ "displayName", "enabled", + "labels", "localSubnets", "remoteSubnets", "staticRoutes", @@ -133,6 +138,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: { "displayName": obj.get("displayName"), "enabled": obj.get("enabled"), + "labels": obj.get("labels"), "localSubnets": obj.get("localSubnets"), "remoteSubnets": obj.get("remoteSubnets"), "staticRoutes": obj.get("staticRoutes"), From e1adede8f1012014f9e23ba1e4826efcaad15ce4 Mon Sep 17 00:00:00 2001 From: Manuel Vaas Date: Wed, 27 May 2026 10:58:38 +0200 Subject: [PATCH 2/2] add changelog --- CHANGELOG.md | 4 +++- services/vpn/CHANGELOG.md | 3 +++ services/vpn/pyproject.toml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b9717a40..be71da280 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -136,7 +136,7 @@ - `CreateDistributionPayload` - `certificates`: - [v1.5.0](services/certificates/CHANGELOG.md#v150) - - **Feature:** Add new optional attribute `labels` to `CreateCertificatePayload` and `GetCertificateResponse + - **Feature:** Add new optional attribute `labels` to `CreateCertificatePayload` and `GetCertificateResponse` - [v1.4.0](services/certificates/CHANGELOG.md#v140) - **Feature:** regenerate with openapi-generator v7.22.0 - [v1.3.1](services/certificates/CHANGELOG.md#v131) @@ -175,6 +175,8 @@ - [v0.14.0](services/observability/CHANGELOG.md#v0140) - **Feature:** Add attribute `otlp_http_logs_url` to `InstanceSensitiveData` model class - `vpn`: + - [v0.4.0](services/vpn/CHANGELOG.md#v040) + - **Feature:** Add new optional attribute `labels` to `CreateGatewayConnectionPayload` and `UpdateGatewayConnectionPayload` - [v0.3.0](services/vpn/CHANGELOG.md#v030) - **Breaking Change:** switch from `v1beta` version to `v1` version of the API - [v0.2.0](services/vpn/CHANGELOG.md#v020) diff --git a/services/vpn/CHANGELOG.md b/services/vpn/CHANGELOG.md index 0f4e6deee..50f12e7cc 100644 --- a/services/vpn/CHANGELOG.md +++ b/services/vpn/CHANGELOG.md @@ -1,3 +1,6 @@ +## v0.4.0 +- **Feature:** Add new optional attribute `labels` to `CreateGatewayConnectionPayload` and `UpdateGatewayConnectionPayload` + ## v0.3.0 - **Breaking Change:** switch from `v1beta` version to `v1` version of the API diff --git a/services/vpn/pyproject.toml b/services/vpn/pyproject.toml index 341a4a0fb..ccf34667f 100644 --- a/services/vpn/pyproject.toml +++ b/services/vpn/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "stackit-vpn" -version = "v0.3.0" +version = "v0.4.0" description = "STACKIT VPN API" authors = [{name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud"}] requires-python = ">=3.9,<4.0"