Skip to content
Closed
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
2 changes: 1 addition & 1 deletion services/dns/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0e64886dd0847341800d7191ed193b75413be998
d5bd75f47f4b364fa6f71663efb4ba41ec703ac8
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class CreateLabelPayload(BaseModel):
""" # noqa: E501

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

model_config = ConfigDict(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ class CreateZonePayload(BaseModel):
""" # noqa: E501

acl: Optional[Annotated[str, Field(strict=True, max_length=2000)]] = Field(
default="0.0.0.0/0,::/0", description="access control list"
default="0.0.0.0/0,::/0",
description="the access control list (note: this field currently has no effect and does not enforce any access restrictions on the DNS zone)",
)
contact_email: Optional[Annotated[str, Field(strict=True, max_length=255)]] = Field(
default="hostmaster@stackit.cloud", description="contact e-mail for the zone", alias="contactEmail"
Expand Down
2 changes: 1 addition & 1 deletion services/dns/src/stackit/dns/models/label.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Label(BaseModel):
""" # noqa: E501

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

model_config = ConfigDict(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ class PartialUpdateZonePayload(BaseModel):
""" # noqa: E501

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