Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
22 changes: 22 additions & 0 deletions mintlify/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
title: CNY Account
allOf:
- $ref: ./BaseExternalAccountInfo.yaml
- $ref: ../common/CnyAccountInfoBase.yaml
- type: object
required:
- beneficiary
properties:
beneficiary:
oneOf:
- title: Individual Beneficiary
$ref: ../common/CnyBeneficiary.yaml
- title: Business Beneficiary
$ref: ../common/BusinessBeneficiary.yaml
discriminator:
propertyName: beneficiaryType
mapping:
INDIVIDUAL: ../common/CnyBeneficiary.yaml
BUSINESS: ../common/BusinessBeneficiary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ oneOf:
- $ref: ./BrlExternalAccountCreateInfo.yaml
- $ref: ./BwpExternalAccountCreateInfo.yaml
- $ref: ./CadExternalAccountCreateInfo.yaml
- $ref: ./CnyExternalAccountCreateInfo.yaml
- $ref: ./CopExternalAccountCreateInfo.yaml
- $ref: ./DkkExternalAccountCreateInfo.yaml
- $ref: ./EgpExternalAccountCreateInfo.yaml
Expand Down Expand Up @@ -51,6 +52,7 @@ discriminator:
BRL_ACCOUNT: ./BrlExternalAccountCreateInfo.yaml
BWP_ACCOUNT: ./BwpExternalAccountCreateInfo.yaml
CAD_ACCOUNT: ./CadExternalAccountCreateInfo.yaml
CNY_ACCOUNT: ./CnyExternalAccountCreateInfo.yaml
COP_ACCOUNT: ./CopExternalAccountCreateInfo.yaml
DKK_ACCOUNT: ./DkkExternalAccountCreateInfo.yaml
EGP_ACCOUNT: ./EgpExternalAccountCreateInfo.yaml
Expand Down
Loading