Skip to content

Commit 0642e7b

Browse files
Generate dns
1 parent d14550d commit 0642e7b

5 files changed

Lines changed: 7 additions & 5 deletions

File tree

services/dns/oas_commit

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

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)