From a7d95992f2b9b6f2075d0c9a6b40c72e865d433a Mon Sep 17 00:00:00 2001 From: Miguel de Barros Date: Tue, 7 Sep 2021 17:05:16 +0200 Subject: [PATCH] feat():sp-settlement-api-participant-identifier-is-not-compatible-with-fspiop-identifiers - Solution Proposal for [mojaloop-specification/change-request/91](https://github.com/mojaloop/mojaloop-specification/issues/91) - Included definition for fspId from the FSPIOP Specification - Updated swagger to include participant name (i.e. fspId) in the Participant definition --- src/interface/swagger.json | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/interface/swagger.json b/src/interface/swagger.json index c0f9294d..5ef9d492 100644 --- a/src/interface/swagger.json +++ b/src/interface/swagger.json @@ -1194,7 +1194,14 @@ "type": "object", "properties": { "id": { - "type": "integer" + "type": "integer", + "description": "FSP identifier", + "example": 1 + }, + "name": { + "$ref": "#/definitions/FspId", + "description": "FSPIOP identifier name", + "example": "payerFsp" }, "accounts": { "type": "array", @@ -1204,6 +1211,13 @@ } } }, + "FspId": { + "title": "FspId", + "type": "string", + "minLength": 1, + "maxLength": 32, + "description": "FSP identifier" + }, "Settlements": { "type": "array", "items": {