Skip to content

Commit

Permalink
Fix Checkout/donation payment methods+fixes (#580)
Browse files Browse the repository at this point in the history
* Fix Checkout/donation payment methods+fixes

* fix codesniffer
  • Loading branch information
Aleffio authored Oct 27, 2023
1 parent 2ebf0b4 commit b043fa6
Show file tree
Hide file tree
Showing 20 changed files with 2,809 additions and 53 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ $(modelGen): target/spec $(openapi-generator-jar)
-g $(generator) \
-o $(output) \
-t ./templates \
--inline-schema-name-mappings DonationPaymentRequest_paymentMethod=CheckoutPaymentMethod \
--inline-schema-name-mappings PaymentRequest_paymentMethod=CheckoutPaymentMethod \
--inline-schema-name-mappings DonationPaymentRequest_paymentMethod=DonationPaymentMethod \
--model-package Model\\$@ \
--api-package Service\\$@ \
--reserved-words-mappings configuration=configuration \
Expand All @@ -74,7 +75,8 @@ $(Services): target/spec $(openapi-generator-jar)
-g $(generator) \
-o $(output) \
-t ./templates \
--inline-schema-name-mappings DonationPaymentRequest_paymentMethod=CheckoutPaymentMethod \
--inline-schema-name-mappings PaymentRequest_paymentMethod=CheckoutPaymentMethod \
--inline-schema-name-mappings DonationPaymentRequest_paymentMethod=DonationPaymentMethod \
--model-package Model\\$@ \
--api-package Service\\$@ \
--inline-schema-name-mappings BankAccountInfo_accountIdentification=BankAccount \
Expand All @@ -98,7 +100,8 @@ $(SingleFileServices): target/spec $(openapi-generator-jar)
-c templates/config.yaml \
--model-package Model\\$@ \
--api-package Service\\$@ \
--inline-schema-name-mappings DonationPaymentRequest_paymentMethod=CheckoutPaymentMethod \
--inline-schema-name-mappings PaymentRequest_paymentMethod=CheckoutPaymentMethod \
--inline-schema-name-mappings DonationPaymentRequest_paymentMethod=DonationPaymentMethod \
--reserved-words-mappings configuration=configuration \
--skip-validate-spec \
--additional-properties variableNamingConvention=camelCase \
Expand Down
Loading

0 comments on commit b043fa6

Please sign in to comment.