Update SEPA TIS Specs authored by Konrad Botor's avatar Konrad Botor
...@@ -117,7 +117,8 @@ paths: ...@@ -117,7 +117,8 @@ paths:
$ref: '#/components/schemas/NextMessageRequest' $ref: '#/components/schemas/NextMessageRequest'
description: Next message request description: Next message request
servers: servers:
- url: 'https://localhost:8080/' - url: 'http://localhost:8080/'
- url: 'http://localhost:8443/'
components: components:
schemas: schemas:
PaymentRequest: PaymentRequest:
...@@ -349,7 +350,7 @@ components: ...@@ -349,7 +350,7 @@ components:
- return_amount - return_amount
- return_currency - return_currency
- chrg_br - chrg_br
- settlment_date - settlement_date
- payment_data - payment_data
properties: properties:
header: header:
...@@ -378,7 +379,7 @@ components: ...@@ -378,7 +379,7 @@ components:
- SLEV - SLEV
description: Charge Bearer description: Charge Bearer
example: SLEV example: SLEV
settlment_date: settlement_date:
type: string type: string
format: date format: date
description: Current or next TARGET2 business day description: Current or next TARGET2 business day
...@@ -825,7 +826,25 @@ components: ...@@ -825,7 +826,25 @@ components:
required data, 3 - technical error) required data, 3 - technical error)
example: DIS-0001 example: DIS-0001
message: message:
type: string type: object
description: Error message description: >-
Error message. Can be a simple string or an array of ValidationError objects
example: Document with given ID already exists example: Document with given ID already exists
ValidationError:
type: object
description: >-
Validation error object - an array of those objects is passed instead of a
single message in Error object in case of validation error
required:
- field
- message
properties:
field:
type: string
description: name of the field, which failed validation
example: jsonrpc
message:
type: string
description: validation failure description
example: Field `JSON-RPC Version number` cannot be null
``` ```
\ No newline at end of file