Merge pull request #2212 from constantine2nd/develop

Tweak ATM Attributes Endpoints
This commit is contained in:
Simon Redfern 2023-04-03 11:07:31 +02:00 committed by GitHub
commit 02a830d589
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -4013,6 +4013,8 @@ object SwaggerDefinitionsJSON {
value = "2012-04-23",
is_active = Some(true)
)
val bankAttributesResponseJsonV400 = BankAttributesResponseJsonV400(List(bankAttributeResponseJsonV400))
val atmAttributeResponseJsonV510 = AtmAttributeResponseJsonV510(
bank_id = bankIdExample.value,
atm_id = atmIdExample.value,

View File

@ -6624,7 +6624,7 @@ trait APIMethods400 {
|
|""",
EmptyBody,
transactionAttributesResponseJson,
bankAttributesResponseJsonV400,
List(
$UserNotLoggedIn,
$BankNotFound,
@ -6659,7 +6659,7 @@ trait APIMethods400 {
|
|""",
EmptyBody,
transactionAttributesResponseJson,
bankAttributeResponseJsonV400,
List(
$UserNotLoggedIn,
$BankNotFound,

View File

@ -108,7 +108,7 @@ case class AtmAttributeResponseJsonV510(
value: String,
is_active: Option[Boolean]
)
case class AtmAttributesResponseJsonV510(bank_attributes: List[AtmAttributeResponseJsonV510])
case class AtmAttributesResponseJsonV510(atm_attributes: List[AtmAttributeResponseJsonV510])
case class AtmAttributeBankResponseJsonV510(name: String,
value: String)
case class AtmAttributesResponseJson(list: List[AtmAttributeBankResponseJsonV510])