Skip to content

Commit

Permalink
fix(mojaloop/#2584): bulk-api-adapter is unable to process requests w…
Browse files Browse the repository at this point in the history
…ith individualTransfers[].extensionLists

fix for mojaloop/project#2584:
- removed linked references in api swagger definition as a temporary work-around due to the internal issue between hapi-swagger and joi dependencies -> this will be addressed in future once it is replaced with openapi-backend plugin
  • Loading branch information
mdebarros committed Nov 19, 2021
1 parent abadbf3 commit 5f8b4bf
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion src/interface/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,32 @@ definitions:
x-convert:
trim: true
extensionList:
$ref: '#/definitions/ExtensionList'
type: object
description: Extension list
properties:
extension:
type: array
description: extension
minItems: 1
maxItems: 16
items:
type: object
properties:
key:
type: string
description: Key
minLength: 1
maxLength: 32
value:
type: string
description: Value
minLength: 1
maxLength: 128
required:
- key
- value
required:
- extension
required:
- transferId
- transferAmount
Expand Down

0 comments on commit 5f8b4bf

Please sign in to comment.