Skip to content

Commit 43a8745

Browse files
OAS Update
1 parent 602a933 commit 43a8745

2 files changed

Lines changed: 72 additions & 0 deletions

File tree

services/pim/v2/pim.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -975,6 +975,12 @@
975975
"$ref": "#/components/schemas/DeveloperPlatformSpecificAttributes"
976976
}
977977
]
978+
},
979+
"savingsPlans": {
980+
"items": {
981+
"$ref": "#/components/schemas/PublicSavingsPlan"
982+
},
983+
"type": "array"
978984
}
979985
},
980986
"required": [
@@ -1003,6 +1009,36 @@
10031009
],
10041010
"type": "object"
10051011
},
1012+
"PublicSavingsPlan": {
1013+
"properties": {
1014+
"discount": {
1015+
"description": "Discount percentage for the savings plan",
1016+
"example": 10,
1017+
"format": "double",
1018+
"type": "number"
1019+
},
1020+
"validEnd": {
1021+
"description": "End date of the savings plan",
1022+
"example": "2022-01-01",
1023+
"format": "date-time",
1024+
"nullable": true,
1025+
"type": "string"
1026+
},
1027+
"validFrom": {
1028+
"description": "Start date of the savings plan",
1029+
"example": "2022-01-01",
1030+
"format": "date-time",
1031+
"type": "string"
1032+
},
1033+
"validityPeriodInYears": {
1034+
"description": "Number of years the savings plan is valid",
1035+
"example": 1,
1036+
"format": "int64",
1037+
"type": "integer"
1038+
}
1039+
},
1040+
"type": "object"
1041+
},
10061042
"RuntimeSpecificAttributes": {
10071043
"properties": {
10081044
"discriminator": {

services/pim/v3alpha1/pim.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1417,6 +1417,12 @@
14171417
"$ref": "#/components/schemas/PublicDeveloperPlatformSpecificAttributes"
14181418
}
14191419
]
1420+
},
1421+
"savingsPlans": {
1422+
"items": {
1423+
"$ref": "#/components/schemas/PublicSavingsPlan"
1424+
},
1425+
"type": "array"
14201426
}
14211427
},
14221428
"required": [
@@ -1427,6 +1433,36 @@
14271433
],
14281434
"type": "object"
14291435
},
1436+
"PublicSavingsPlan": {
1437+
"properties": {
1438+
"discount": {
1439+
"description": "Discount percentage for the savings plan",
1440+
"example": 10,
1441+
"format": "double",
1442+
"type": "number"
1443+
},
1444+
"validEnd": {
1445+
"description": "End date of the savings plan",
1446+
"example": "2022-01-01",
1447+
"format": "date-time",
1448+
"nullable": true,
1449+
"type": "string"
1450+
},
1451+
"validFrom": {
1452+
"description": "Start date of the savings plan",
1453+
"example": "2022-01-01",
1454+
"format": "date-time",
1455+
"type": "string"
1456+
},
1457+
"validityPeriodInYears": {
1458+
"description": "Number of years the savings plan is valid",
1459+
"example": 1,
1460+
"format": "int64",
1461+
"type": "integer"
1462+
}
1463+
},
1464+
"type": "object"
1465+
},
14301466
"PublicStorageSpecificAttributes": {
14311467
"properties": {
14321468
"class": {

0 commit comments

Comments
 (0)