Update SEPA TIS Specs authored by Konrad Botor's avatar Konrad Botor
......@@ -117,7 +117,8 @@ paths:
$ref: '#/components/schemas/NextMessageRequest'
description: Next message request
servers:
- url: 'https://localhost:8080/'
- url: 'http://localhost:8080/'
- url: 'http://localhost:8443/'
components:
schemas:
PaymentRequest:
......@@ -349,7 +350,7 @@ components:
- return_amount
- return_currency
- chrg_br
- settlment_date
- settlement_date
- payment_data
properties:
header:
......@@ -378,7 +379,7 @@ components:
- SLEV
description: Charge Bearer
example: SLEV
settlment_date:
settlement_date:
type: string
format: date
description: Current or next TARGET2 business day
......@@ -825,7 +826,25 @@ components:
required data, 3 - technical error)
example: DIS-0001
message:
type: string
description: Error message
type: object
description: >-
Error message. Can be a simple string or an array of ValidationError objects
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