Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Generator: Update SDK /services/dns#1347

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Fyusel merged 6 commits intomainfromgenerator-bot-15896275118/dns
Jun 27, 2025
Merged
Show file tree
Hide file tree
Changes fromall 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
14 changes: 14 additions & 0 deletionsCHANGELOG.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
## Release (2025-XX-YY)

- `dns`: [v0.4.0](services/dns/CHANGELOG.md#v040)
- **Feature:** Add new record set types
- **Feature:** Improve documentation for APEX records in `RecordSet` and `CreateRecordSetPayload` models
- `git`: [v0.2.0](services/git/CHANGELOG.md#v020)
- **Feature:** Add support for `Flavors` for STACKIT git instance
- **Improvement:** Error handling and documentation improved
- `ske` [v0.6.0](services/ske/CHANGELOG.md#v060)
- **Feature:** Add new `ClusterErrorCode` types: `CLUSTERERRORCODE_INFRA_SNA_NETWORK_NOT_FOUND`, `CLUSTERERRORCODE_FETCHING_ERRORS_NOT_POSSIBLE`
- `stackitmarketplace`: [v1.5.0](services/stackitmarketplace/CHANGELOG.md#v150)
- **Feature:** Add new `Assets` model for managing service certificate assets
- **Feature:** Add new `LocalizedVersion` model for localized content management
- **Feature:** Add new `NoticePeriod` model with types: `SAME_DAY`, `DAYS`, `MONTHS`
- **Feature:** Add new `ServiceCertificate` model for service certification
- `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
Expand Down
4 changes: 4 additions & 0 deletionsservices/dns/CHANGELOG.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
## v0.4.0
- **Feature:** Add new record set types
- **Feature:** Improve documentation for APEX records in `RecordSet` and `CreateRecordSetPayload` models

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

Expand Down
2 changes: 1 addition & 1 deletionservices/dns/pyproject.toml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,7 +3,7 @@ name = "stackit-dns"

[tool.poetry]
name = "stackit-dns"
version = "v0.3.2"
version = "v0.4.0"
authors = ["STACKIT Developer Tools <developer-tools@stackit.cloud>"]
description = "STACKIT DNS API"
readme = "README.md"
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -33,7 +33,7 @@ class CreateRecordSetPayload(BaseModel):
default=None, description="user comment"
)
name: Annotated[str, Field(min_length=1, strict=True, max_length=253)] = Field(
description="name of the record which should be a valid domain according to rfc1035 Section 2.3.4"
description="name of the record which should be a valid domain according to rfc1035 Section 2.3.4. For APEX records (same as zone name), the zone name itself has to be put in here."
)
records: List[RecordPayload] = Field(description="records")
ttl: Optional[Annotated[int, Field(le=99999999, strict=True, ge=60)]] = Field(
Expand DownExpand Up@@ -68,10 +68,14 @@ def type_validate_enum(cls, value):
"URI",
"CERT",
"SVCB",
"TYPE",
"CSYNC",
"HINFO",
"HTTPS",
]
):
raise ValueError(
"must be one of enum values ('A', 'AAAA', 'SOA', 'CNAME', 'NS', 'MX', 'TXT', 'SRV', 'PTR', 'ALIAS', 'DNAME', 'CAA', 'DNSKEY', 'DS', 'LOC', 'NAPTR', 'SSHFP', 'TLSA', 'URI', 'CERT', 'SVCB')"
"must be one of enum values ('A', 'AAAA', 'SOA', 'CNAME', 'NS', 'MX', 'TXT', 'SRV', 'PTR', 'ALIAS', 'DNAME', 'CAA', 'DNSKEY', 'DS', 'LOC', 'NAPTR', 'SSHFP', 'TLSA', 'URI', 'CERT', 'SVCB', 'TYPE', 'CSYNC', 'HINFO', 'HTTPS')"
)
return value

Expand Down
34 changes: 31 additions & 3 deletionsservices/dns/src/stackit/dns/models/record_set.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -45,7 +45,7 @@ class RecordSet(BaseModel):
)
id: StrictStr = Field(description="rr set id")
name: Annotated[str, Field(min_length=1, strict=True, max_length=253)] = Field(
description="name of the record which should be a valid domain according to rfc1035 Section 2.3.4"
description="name of the record which should be a valid domain according to rfc1035 Section 2.3.4. For APEX records (same as zone name), the zone name itself has to be put in here."
)
records: Annotated[List[Record], Field(min_length=1)] = Field(description="records")
state: StrictStr = Field(description="record set state")
Expand DownExpand Up@@ -93,9 +93,37 @@ def state_validate_enum(cls, value):
@field_validator("type")
def type_validate_enum(cls, value):
"""Validates the enum"""
if value not in set(["A", "AAAA", "SOA", "CNAME", "NS", "MX", "TXT", "SRV", "PTR", "ALIAS", "DNAME", "CAA"]):
if value not in set(
[
"A",
"AAAA",
"SOA",
"CNAME",
"NS",
"MX",
"TXT",
"SRV",
"PTR",
"ALIAS",
"DNAME",
"CAA",
"DNSKEY",
"DS",
"LOC",
"NAPTR",
"SSHFP",
"TLSA",
"URI",
"CERT",
"SVCB",
"TYPE",
"CSYNC",
"HINFO",
"HTTPS",
]
):
raise ValueError(
"must be one of enum values ('A', 'AAAA', 'SOA', 'CNAME', 'NS', 'MX', 'TXT', 'SRV', 'PTR', 'ALIAS', 'DNAME', 'CAA')"
"must be one of enum values ('A', 'AAAA', 'SOA', 'CNAME', 'NS', 'MX', 'TXT', 'SRV', 'PTR', 'ALIAS', 'DNAME', 'CAA', 'DNSKEY', 'DS', 'LOC', 'NAPTR', 'SSHFP', 'TLSA', 'URI', 'CERT', 'SVCB', 'TYPE', 'CSYNC', 'HINFO', 'HTTPS')"
)
return value

Expand Down
4 changes: 4 additions & 0 deletionsservices/git/CHANGELOG.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
## v0.2.0
- **Feature:** Add support for `Flavors` for STACKIT git instance
- **Improvement:** Error handling and documentation improved

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

Expand Down
2 changes: 1 addition & 1 deletionservices/git/pyproject.toml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,7 +3,7 @@ name = "stackit-git"

[tool.poetry]
name = "stackit-git"
version = "v0.1.2"
version = "v0.2.0"
authors = [
"STACKIT Developer Tools <developer-tools@stackit.cloud>",
]
Expand Down
7 changes: 5 additions & 2 deletionsservices/git/src/stackit/git/__init__.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,9 +5,9 @@
"""
STACKIT Git API

ManageSTACKIT Gitinstances.
STACKIT Gitmanagement API.

The version of the OpenAPI document: 1beta.0.3
The version of the OpenAPI document: 1beta.0.4
Contact: git@stackit.cloud
Generated by OpenAPI Generator (https://openapi-generator.tech)

Expand DownExpand Up@@ -35,9 +35,12 @@

# import models into sdk package
from stackit.git.models.create_instance_payload import CreateInstancePayload
from stackit.git.models.flavor import Flavor
from stackit.git.models.generic_error_response import GenericErrorResponse
from stackit.git.models.instance import Instance
from stackit.git.models.internal_server_error_response import (
InternalServerErrorResponse,
)
from stackit.git.models.list_flavors import ListFlavors
from stackit.git.models.list_instances import ListInstances
from stackit.git.models.unauthorized_response import UnauthorizedResponse
Loading
Loading

[8]ページ先頭

©2009-2025 Movatter.jp