Skip to content

Commit

Permalink
upgrade openapi spec v1178
Browse files Browse the repository at this point in the history
  • Loading branch information
hgiasac committed Aug 6, 2024
1 parent 3ae2790 commit 3d9e81a
Show file tree
Hide file tree
Showing 8 changed files with 8,997 additions and 1,950 deletions.
10,845 changes: 8,905 additions & 1,940 deletions config/schema.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion schema/config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
file: https://raw.githubusercontent.com/stripe/openapi/v1071/openapi/spec3.json
file: https://raw.githubusercontent.com/stripe/openapi/v1178/openapi/spec3.json
spec: oas3
envPrefix: STRIPE
trimPrefix: /v1
3 changes: 2 additions & 1 deletion testdata/mock/query/GetChargesChargeDispute/expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"object": "dispute",
"payment_intent": null,
"payment_method_details": {
"card": { "brand": "visa", "network_reason_code": "10.4" },
"klarna": null,
"paypal": null,
"type": "card"
},
"reason": "general",
Expand Down
30 changes: 28 additions & 2 deletions testdata/mock/query/GetChargesChargeDispute/request.json
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,34 @@
"column": "payment_method_details",
"fields": {
"fields": {
"card": {
"column": "card",
"klarna": {
"column": "klarna",
"fields": {
"fields": {
"reason_code": {
"column": "reason_code",
"type": "column"
}
},
"type": "object"
},
"type": "column"
},
"paypal": {
"column": "paypal",
"fields": {
"fields": {
"case_id": {
"column": "case_id",
"type": "column"
},
"reason_code": {
"column": "reason_code",
"type": "column"
}
},
"type": "object"
},
"type": "column"
},
"type": {
Expand Down
3 changes: 2 additions & 1 deletion testdata/mock/query/GetDisputes/expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
"object": "dispute",
"payment_intent": null,
"payment_method_details": {
"card": { "brand": "visa", "network_reason_code": "10.4" },
"klarna": null,
"paypal": null,
"type": "card"
},
"reason": "general",
Expand Down
30 changes: 28 additions & 2 deletions testdata/mock/query/GetDisputes/request.json
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,34 @@
"column": "payment_method_details",
"fields": {
"fields": {
"card": {
"column": "card",
"klarna": {
"column": "klarna",
"fields": {
"fields": {
"reason_code": {
"column": "reason_code",
"type": "column"
}
},
"type": "object"
},
"type": "column"
},
"paypal": {
"column": "paypal",
"fields": {
"fields": {
"case_id": {
"column": "case_id",
"type": "column"
},
"reason_code": {
"column": "reason_code",
"type": "column"
}
},
"type": "object"
},
"type": "column"
},
"type": {
Expand Down
3 changes: 2 additions & 1 deletion testdata/mock/query/GetDisputesDispute/expected.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
"object": "dispute",
"payment_intent": null,
"payment_method_details": {
"card": { "brand": "visa", "network_reason_code": "10.4" },
"klarna": null,
"paypal": null,
"type": "card"
},
"reason": "general",
Expand Down
31 changes: 29 additions & 2 deletions testdata/mock/query/GetDisputesDispute/request.json
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,39 @@
"column": "payment_intent",
"type": "column"
},

"payment_method_details": {
"column": "payment_method_details",
"fields": {
"fields": {
"card": {
"column": "card",
"klarna": {
"column": "klarna",
"fields": {
"fields": {
"reason_code": {
"column": "reason_code",
"type": "column"
}
},
"type": "object"
},
"type": "column"
},
"paypal": {
"column": "paypal",
"fields": {
"fields": {
"case_id": {
"column": "case_id",
"type": "column"
},
"reason_code": {
"column": "reason_code",
"type": "column"
}
},
"type": "object"
},
"type": "column"
},
"type": {
Expand Down

0 comments on commit 3d9e81a

Please sign in to comment.