diff --git a/packages/engine/paima-rest/src/tsoa/routes.ts b/packages/engine/paima-rest/src/tsoa/routes.ts index 93ce631e..46f33370 100644 --- a/packages/engine/paima-rest/src/tsoa/routes.ts +++ b/packages/engine/paima-rest/src/tsoa/routes.ts @@ -142,7 +142,7 @@ const models: TsoaRoute.Models = { "chainId": {"dataType":"double","required":true}, "time": {"dataType":"string"}, "wallet": {"dataType":"string","required":true}, - "walletType": {"dataType":"union","subSchemas":[{"dataType":"enum","enums":["cardano"]},{"dataType":"enum","enums":["evm"]},{"dataType":"enum","enums":["polkadot"]},{"dataType":"enum","enums":["algorand"]},{"dataType":"string"}]}, + "walletType": {"dataType":"string"}, "userId": {"dataType":"string"}, "userName": {"dataType":"string"}, "completed": {"dataType":"double","required":true}, diff --git a/packages/engine/paima-rest/src/tsoa/swagger.json b/packages/engine/paima-rest/src/tsoa/swagger.json index 79963d3f..09144c8e 100644 --- a/packages/engine/paima-rest/src/tsoa/swagger.json +++ b/packages/engine/paima-rest/src/tsoa/swagger.json @@ -312,20 +312,7 @@ "description": "e.g. addr1234... or 0x1234..." }, "walletType": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "string", - "enum": [ - "cardano", - "evm", - "polkadot", - "algorand" - ] - } - ], + "type": "string", "description": "Optional wallet-type" }, "userId": {