Skip to content

Commit

Permalink
Interfaces too
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceManiac committed Apr 29, 2024
1 parent 334a103 commit ba52254
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
2 changes: 1 addition & 1 deletion packages/engine/paima-rest/src/tsoa/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down
15 changes: 1 addition & 14 deletions packages/engine/paima-rest/src/tsoa/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit ba52254

Please sign in to comment.