Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 01aae86

Browse files
committedApr 23, 2025·
OAS Update
1 parent 39a5e8a commit 01aae86

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed
 

‎services/stackit-marketplace/v1/stackit-marketplace.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"name": "productId",
5656
"required": true,
5757
"schema": {
58-
"$ref": "#/components/schemas/UUID"
58+
"$ref": "#/components/schemas/productId"
5959
},
6060
"style": "simple"
6161
},
@@ -84,7 +84,7 @@
8484
"in": "query",
8585
"name": "productId",
8686
"schema": {
87-
"$ref": "#/components/schemas/UUID"
87+
"$ref": "#/components/schemas/productId"
8888
}
8989
},
9090
"sort": {
@@ -1029,12 +1029,12 @@
10291029
"type": "string"
10301030
},
10311031
"productId": {
1032-
"allOf": [
1033-
{
1034-
"$ref": "#/components/schemas/UUID"
1035-
}
1036-
],
1037-
"description": "The product ID."
1032+
"description": "The user-readable product ID.",
1033+
"example": "marketplace-product-4c531ae5",
1034+
"maxLength": 29,
1035+
"minLength": 10,
1036+
"pattern": "^[a-z0-9-]{1,20}-[0-9a-f]{8}$",
1037+
"type": "string"
10381038
},
10391039
"productLifecycleState": {
10401040
"description": "The lifecycle state of the product.",

0 commit comments

Comments
 (0)
Please sign in to comment.