Skip to content

Commit b38a7d8

Browse files
Generator: Update SDK /services/dns (#7648)
* Generate dns * chore(dns): Add changelogs Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de> --------- Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de> Co-authored-by: Alexander Dahmen <alexander.dahmen@inovex.de>
1 parent 1a5f680 commit b38a7d8

8 files changed

Lines changed: 13 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
- **Feature:** Add attribute `total_quantity_decimal` to `DetailedServiceCost` model class
3535
- **Feature:** Add attribute `quantity_decimal` to `ReportData` model class
3636
- `dns`
37+
- [v0.8.0](services/dns/CHANGELOG.md#v080)
38+
- **Breaking Change:** `Value` field of `Label`/`CreateLabelPayload` is no longer required.
3739
- [v0.7.0](services/dns/CHANGELOG.md#v070)
3840
- **Chore:** Bump minimum Python version to 3.10
3941
- **Chore:** Update dependencies

services/dns/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## v0.8.0
2+
- **Breaking Change:** `Value` field of `Label`/`CreateLabelPayload` is no longer required.
3+
14
## v0.7.0
25
- **Chore:** Bump minimum Python version to 3.10
36
- **Chore:** Update dependencies

services/dns/oas_commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0e64886dd0847341800d7191ed193b75413be998
1+
c09e232a83532c75ca1041153e3ebc7ce2d50eb6

services/dns/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "stackit-dns"
3-
version = "v0.7.0"
3+
version = "v0.8.0"
44
description = "STACKIT DNS API"
55
authors = [{ name = "STACKIT Developer Tools", email = "developer-tools@stackit.cloud" }]
66
requires-python = ">=3.10,<4.0"

services/dns/src/stackit/dns/models/create_label_payload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class CreateLabelPayload(BaseModel):
2929
""" # noqa: E501
3030

3131
key: Annotated[str, Field(min_length=1, strict=True, max_length=63)]
32-
value: Annotated[str, Field(min_length=1, strict=True, max_length=63)]
32+
value: Optional[Annotated[str, Field(strict=True, max_length=63)]] = None
3333
__properties: ClassVar[List[str]] = ["key", "value"]
3434

3535
model_config = ConfigDict(

services/dns/src/stackit/dns/models/create_zone_payload.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ class CreateZonePayload(BaseModel):
3838
""" # noqa: E501
3939

4040
acl: Optional[Annotated[str, Field(strict=True, max_length=2000)]] = Field(
41-
default="0.0.0.0/0,::/0", description="access control list"
41+
default="0.0.0.0/0,::/0",
42+
description="the access control list (note: this field currently has no effect and does not enforce any access restrictions on the DNS zone)",
4243
)
4344
contact_email: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
4445
default="hostmaster@stackit.cloud", description="contact e-mail for the zone", alias="contactEmail"

services/dns/src/stackit/dns/models/label.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Label(BaseModel):
2929
""" # noqa: E501
3030

3131
key: Annotated[str, Field(min_length=1, strict=True, max_length=63)]
32-
value: Annotated[str, Field(min_length=1, strict=True, max_length=63)]
32+
value: Optional[Annotated[str, Field(strict=True, max_length=63)]] = None
3333
__properties: ClassVar[List[str]] = ["key", "value"]
3434

3535
model_config = ConfigDict(

services/dns/src/stackit/dns/models/partial_update_zone_payload.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ class PartialUpdateZonePayload(BaseModel):
3131
""" # noqa: E501
3232

3333
acl: Optional[Annotated[str, Field(strict=True, max_length=2000)]] = Field(
34-
default="0.0.0.0/0,::/0", description="access control list"
34+
default="0.0.0.0/0,::/0",
35+
description="the access control list (note: this field currently has no effect and does not enforce any access restrictions on the DNS zone)",
3536
)
3637
contact_email: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
3738
default="hostmaster@stackit.cloud", description="contact e-mail for the zone", alias="contactEmail"

0 commit comments

Comments
 (0)