Skip to content

Commit ed9a1de

Browse files
lualua
lua
authored and
lua
committed
patches vouchers
1 parent ab264b4 commit ed9a1de

9 files changed

+73370
-124
lines changed

openapi_specs/latest/README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Notes:
2-
- changed the additionalData field to the proper type
3-
- removed the enum info regarding AccessRightItemData -> itemType because it was missing fields like APP_STORE_PRODUCT, APP_STORE_SUBSCRIPTION, etc.
4-
- corrected the AccessRightItemData -> data field to be a dictionary, instead of an array of dictionaries.
1+
- all the fixes from v241104 are already in the manually fixed file, we just apply the following fix:
2+
- patching the ApiVouchersPage because it is wrong.
3+
- patching the ApiCampaignPage because it is wrong.

openapi_specs/latest/openapi-v241104-MINOR-manually-fixed-trimmed-down.json

+8-22
Original file line numberDiff line numberDiff line change
@@ -9433,20 +9433,13 @@
94339433
"ApiVoucherPage": {
94349434
"type": "object",
94359435
"properties": {
9436-
"startingAfter": {
9437-
"description": "starting after element id",
9438-
"type": "integer"
9439-
},
9440-
"size": {
9441-
"description": "size of elements of the page",
9442-
"type": "integer"
9443-
},
9444-
"totalSize": {
9445-
"description": "total of elements",
9446-
"type": "integer"
9436+
"startingAfterId": {
9437+
"type": "integer",
9438+
"description": "The ID to start retrieving vouchers after."
94479439
},
9448-
"campaigns": {
9440+
"items": {
94499441
"type": "array",
9442+
"description": "A list of voucher items.",
94509443
"items": {
94519444
"$ref": "#/components/schemas/ApiVoucher"
94529445
}
@@ -9604,19 +9597,12 @@
96049597
"type": "object",
96059598
"properties": {
96069599
"startingAfter": {
9607-
"description": "starting after element id",
9608-
"type": "integer"
9609-
},
9610-
"size": {
9611-
"description": "size of elements of the page",
9600+
"description": "Starting after element id",
96129601
"type": "integer"
96139602
},
9614-
"totalSize": {
9615-
"description": "total of elements",
9616-
"type": "integer"
9617-
},
9618-
"campaigns": {
9603+
"items": {
96199604
"type": "array",
9605+
"description": "Array of campaigns",
96209606
"items": {
96219607
"$ref": "#/components/schemas/ApiCampaignView"
96229608
}

openapi_specs/latest/openapi-v241104-MINOR-manually-fixed.json

+8-22
Original file line numberDiff line numberDiff line change
@@ -58070,20 +58070,13 @@
5807058070
"ApiVoucherPage": {
5807158071
"type": "object",
5807258072
"properties": {
58073-
"startingAfter": {
58074-
"description": "starting after element id",
58075-
"type": "integer"
58076-
},
58077-
"size": {
58078-
"description": "size of elements of the page",
58079-
"type": "integer"
58080-
},
58081-
"totalSize": {
58082-
"description": "total of elements",
58083-
"type": "integer"
58073+
"startingAfterId": {
58074+
"type": "integer",
58075+
"description": "The ID to start retrieving vouchers after."
5808458076
},
58085-
"campaigns": {
58077+
"items": {
5808658078
"type": "array",
58079+
"description": "A list of voucher items.",
5808758080
"items": {
5808858081
"$ref": "#/components/schemas/ApiVoucher"
5808958082
}
@@ -58235,19 +58228,12 @@
5823558228
"type": "object",
5823658229
"properties": {
5823758230
"startingAfter": {
58238-
"description": "starting after element id",
58239-
"type": "integer"
58240-
},
58241-
"size": {
58242-
"description": "size of elements of the page",
58231+
"description": "Starting after element id",
5824358232
"type": "integer"
5824458233
},
58245-
"totalSize": {
58246-
"description": "total of elements",
58247-
"type": "integer"
58248-
},
58249-
"campaigns": {
58234+
"items": {
5825058235
"type": "array",
58236+
"description": "Array of campaigns",
5825158237
"items": {
5825258238
"$ref": "#/components/schemas/ApiCampaignView"
5825358239
}

openapi_specs/v241104/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Notes:
2+
- changed the additionalData field to the proper type
3+
- removed the enum info regarding AccessRightItemData -> itemType because it was missing fields like APP_STORE_PRODUCT, APP_STORE_SUBSCRIPTION, etc.
4+
- corrected the AccessRightItemData -> data field to be a dictionary, instead of an array of dictionaries.

0 commit comments

Comments
 (0)