-
Notifications
You must be signed in to change notification settings - Fork 84
/
Copy pathgen-diagrams.sh
executable file
·105 lines (100 loc) · 4.99 KB
/
gen-diagrams.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
#!/usr/bin/env bash
# install umldiagram from https://bitbucket.org/openbankingteam/uml-generator/src/master/
./umldiagram --src=./dist/openapi/account-info-openapi.yaml --api-version=3 --dir=uml-diagrams\
--schema=OBReadConsent1\
--schema=OBReadConsentResponse1\
--schema=OBReadAccount6\
--schema=OBReadBalance1\
--schema=OBReadTransaction6\
--schema=OBReadBeneficiary5\
--schema=OBReadDirectDebit2\
--schema=OBReadStandingOrder6\
--schema=OBReadStatement2\
--schema=OBReadProduct2\
--schema=OBBCAData1\
--schema=OBBCAData1\
--schema=OBPCAData1\
--schema=OBReadOffer1\
--schema=OBParty2\
--schema=OBReadParty2\
--schema=OBReadParty3\
--schema=OBReadScheduledPayment3\
--schema=OBBCAData1.properties.Overdraft:Overdraft\
--schema=OBBCAData1.properties.OtherFeesCharges:OtherFeesCharges\
--schema=OBBCAData1.properties.Overdraft.properties.OverdraftTierBandSet:OverdraftTierBandSet\
--schema=OBReadProduct2.properties.Data.properties.Product.items.properties.OtherProductType.properties.LoanInterest:LoanInterest\
--schema=OBReadProduct2.properties.Data.properties.Product.items.properties.OtherProductType.properties.Repayment:Repayment\
./umldiagram --src=./dist/openapi/payment-initiation-openapi.yaml --api-version=3 --dir=uml-diagrams\
--schema=OBRisk1\
--schema=OBSCASupportData1\
--schema=OBWriteFundsConfirmationResponse1\
--schema=OBWriteDomestic2\
--schema=OBWriteDomesticConsent4\
--schema=OBWriteDomesticConsentResponse5\
--schema=OBWriteDomesticResponse5\
--schema=OBWritePaymentDetailsResponse1\
--schema=OBWriteDomesticScheduledConsent4\
--schema=OBWriteDomesticScheduledConsentResponse5\
--schema=OBWriteDomesticScheduled2\
--schema=OBWriteDomesticScheduledResponse5\
--schema=OBWritePaymentDetailsResponse1\
--schema=OBWriteDomesticStandingOrderConsent5\
--schema=OBWriteDomesticStandingOrderConsentResponse6\
--schema=OBWriteDomesticStandingOrder3\
--schema=OBWriteDomesticStandingOrderResponse6\
--schema=OBWritePaymentDetailsResponse1\
--schema=OBWriteInternationalConsent5\
--schema=OBWriteInternationalConsentResponse6\
--schema=OBWriteFundsConfirmationResponse1\
--schema=OBWriteInternational3\
--schema=OBWriteInternationalResponse5\
--schema=OBWritePaymentDetailsResponse1\
--schema=OBWriteInternationalScheduledConsent5\
--schema=OBWriteInternationalScheduledConsentResponse6\
--schema=OBWriteFundsConfirmationResponse1\
--schema=OBWriteInternationalScheduled3\
--schema=OBWriteInternationalScheduledResponse6\
--schema=OBWritePaymentDetailsResponse1\
--schema=OBWriteInternationalStandingOrderConsent6\
--schema=OBWriteInternationalStandingOrderConsentResponse7\
--schema=OBWriteInternationalStandingOrder4\
--schema=OBWriteInternationalStandingOrderResponse7\
--schema=OBWritePaymentDetailsResponse1\
--schema=OBWriteFileConsent3\
--schema=OBWriteFileConsentResponse4\
--schema=OBWriteFile2\
--schema=OBWriteFileResponse3\
--schema=OBWritePaymentDetailsResponse1\
--schema=OBWriteDomesticConsent4.properties.Data.properties.Initiation:OBDomestic2\
--schema=OBWriteDomesticResponse5.properties.Data.properties.Refund:OBDomesticRefundAccount1\
--schema=OBWriteInternationalResponse5.properties.Data.properties.Refund:OBInternationalRefundAccount1\
--schema=OBWriteDomesticScheduledConsent4.properties.Data.properties.Initiation:OBDomesticScheduled2\
--schema=OBWriteDomesticStandingOrderConsent5.properties.Data.properties.Initiation:OBDomesticStandingOrder3\
--schema=OBWriteInternationalConsent5.properties.Data.properties.Initiation:OBInternational3\
--schema=OBWriteInternationalConsent5.properties.Data.properties.Initiation.properties.ExchangeRateInformation:OBExchangeRate2\
--schema=OBWriteInternationalScheduledConsent5.properties.Data.properties.Initiation:OBInternationalScheduled3\
--schema=OBWriteInternationalStandingOrderConsent6.properties.Data.properties.Initiation:OBInternationalStandingOrder4\
--schema=OBWriteFileConsent3.properties.Data.properties.Initiation:OBFile2\
--schema=OBWriteDomesticStandingOrderConsent5.properties.Data.properties.Authorisation:OBAuthorisation1\
--schema=OBWriteDomesticResponse5.properties.Data.properties.MultiAuthorisation:OBMultiAuthorisation1\
--schema=OBRisk1 \
./umldiagram --src=./dist/openapi/vrp-openapi.yaml --api-version=3 --dir=uml-diagrams \
--schema=OBCashAccountDebtorWithName \
--schema=OBCashAccountCreditor3 \
--schema=OBBranchAndFinancialInstitutionIdentification6 \
--schema=OBDomesticVRPInitiation \
--schema=OBDomesticVRPControlParameters \
--schema=OBRisk1 \
--schema=OBDomesticVRPConsentRequest \
--schema=OBDomesticVRPConsentResponse \
--schema=OBDomesticVRPInstruction \
--schema=OBDomesticVRPRequest \
--schema=OBDomesticVRPResponse \
--schema=OBDomesticVRPDetails \
--schema=OBVRPFundsConfirmationRequest \
--schema=OBVRPFundsConfirmationResponse \
./umldiagram --src=./dist/openapi/confirmation-funds-openapi.yaml --api-version=3 --dir=uml-diagrams\
--schema=OBFundsConfirmationConsent1\
--schema=OBFundsConfirmationConsentResponse1\
--schema=OBFundsConfirmation1\
--schema=OBFundsConfirmationResponse1\