mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 13:07:02 +00:00
Merge pull request #2212 from constantine2nd/develop
Tweak ATM Attributes Endpoints
This commit is contained in:
commit
02a830d589
@ -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,
|
||||
|
||||
@ -6624,7 +6624,7 @@ trait APIMethods400 {
|
||||
|
|
||||
|""",
|
||||
EmptyBody,
|
||||
transactionAttributesResponseJson,
|
||||
bankAttributesResponseJsonV400,
|
||||
List(
|
||||
$UserNotLoggedIn,
|
||||
$BankNotFound,
|
||||
@ -6659,7 +6659,7 @@ trait APIMethods400 {
|
||||
|
|
||||
|""",
|
||||
EmptyBody,
|
||||
transactionAttributesResponseJson,
|
||||
bankAttributeResponseJsonV400,
|
||||
List(
|
||||
$UserNotLoggedIn,
|
||||
$BankNotFound,
|
||||
|
||||
@ -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])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user