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/stackitmarketplace#2282

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
marceljk merged 2 commits intomainfromgenerator-bot-17759772349/stackitmarketplace
Sep 16, 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
7 changes: 5 additions & 2 deletionsCHANGELOG.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
## Release (2025-xx-xx)
- `stackitmarketplace`: [v1.10.0](services/stackitmarketplace/CHANGELOG.md#v1100)
- **Feature:** Added `PlanId` to `CatalogProductPricingOption`and `SubscriptionProduct`
- `stackitmarketplace`:
- [v1.11.0](services/stackitmarketplace/CHANGELOG.md#v1110)
- **Feature:** Add new field `DemoUrl` to `CatalogProductDetail` model
- [v1.10.0](services/stackitmarketplace/CHANGELOG.md#v1100)
- **Feature:** Added `PlanId` to `CatalogProductPricingOption` and `SubscriptionProduct`

## Release (2025-09-11)
- `cdn`: [v1.6.0](services/cdn/CHANGELOG.md#v160)
Expand Down
5 changes: 4 additions & 1 deletionservices/stackitmarketplace/CHANGELOG.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
## v1.11.0
- **Feature:** Add new field `DemoUrl` to `CatalogProductDetail` model

## v1.10.0
- **Feature:** Added `PlanId` to `CatalogProductPricingOption`and `SubscriptionProduct`
- **Feature:** Added `PlanId` to `CatalogProductPricingOption`and `SubscriptionProduct`

## v1.9.0
- **Feature:** Added `RequestPrivatePlan` to `InquiriesCreateInquiryPayload`
Expand Down
2 changes: 1 addition & 1 deletionservices/stackitmarketplace/pyproject.toml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,7 +3,7 @@ name = "stackit-stackitmarketplace"

[tool.poetry]
name = "stackit-stackitmarketplace"
version = "v1.10.0"
version = "v1.11.0"
authors = [
"STACKIT Developer Tools <developer-tools@stackit.cloud>",
]
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -63,6 +63,9 @@ class CatalogProductDetail(BaseModel):
default=None, description="The list of categories associated to the product."
)
delivery_method: DeliveryMethod = Field(alias="deliveryMethod")
demo_url: Optional[Annotated[str, Field(strict=True, max_length=512)]] = Field(
default=None, description="The URL to a demo if available.", alias="demoUrl"
)
description: StrictStr = Field(description="The product description.")
documentation_url: Annotated[str, Field(strict=True, max_length=512)] = Field(
description="The documentation URL.", alias="documentationUrl"
Expand DownExpand Up@@ -108,6 +111,7 @@ class CatalogProductDetail(BaseModel):
"assets",
"categories",
"deliveryMethod",
"demoUrl",
"description",
"documentationUrl",
"email",
Expand All@@ -129,6 +133,18 @@ class CatalogProductDetail(BaseModel):
"videoUrl",
]

@field_validator("demo_url")
def demo_url_validate_regular_expression(cls, value):
"""Validates the regular expression"""
if value is None:
return value

if not re.match(r"^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$", value):
raise ValueError(
r"must validate the regular expression /^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$/"
)
return value

@field_validator("documentation_url")
def documentation_url_validate_regular_expression(cls, value):
"""Validates the regular expression"""
Expand DownExpand Up@@ -260,6 +276,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"assets": Assets.from_dict(obj["assets"]) if obj.get("assets") is not None else None,
"categories": obj.get("categories"),
"deliveryMethod": obj.get("deliveryMethod"),
"demoUrl": obj.get("demoUrl"),
"description": obj.get("description"),
"documentationUrl": obj.get("documentationUrl"),
"email": obj.get("email"),
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp