OpenBankingToolkit / openbanking-toolkit

Root repository of the openbanking toolkit. Pointing to other repos and providing you the doc
Apache License 2.0
8 stars 0 forks source link

Payment Initiation model version 3.1.4 missed fields (Refund) #16

Closed jsanhc closed 3 years ago

jsanhc commented 3 years ago

Description

It has been detected that the objects generated from swagger file version 3.1.4 (payment initiation) was wrong and the object Refund doesn't exist defined in the generated model when was generated at 2020-05-19.

swagger file correction

v3.1.4 Payment initiation swagger file

tasks

jsanhc commented 3 years ago

Command used to generate the model

java -jar ../../swagger-codegen-cli-2.4.17.jar generate \
-i https://raw.githubusercontent.com/OpenBankingUK/read-write-api-specs/v3.1.4/dist/swagger/payment-initiation-swagger.json \
-DuseBeanValidation=true \
-Dmodels \
--model-package uk.org.openbanking.datamodel.payment \
--group-id com.forgerock.openbanking \
--artifact-id openbanking-sdk \
-l java \
--library resttemplate \
-o generated

Swagger file used

jsanhc commented 3 years ago

Changes in openbanking-uk-datamodel

OBWriteInternationalResponse4Data

OBWriteInternationalScheduledResponse5Data

OBWriteInternationalStandingOrderResponse6Data