Skip to content

Commit 6b606aa

Browse files
authored
docs: fix acceptable values for coin param in wallet withdrawal (#5140)
1 parent b8e2a28 commit 6b606aa

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

openapi/Swarm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2215,7 +2215,7 @@ paths:
22152215
name: coin
22162216
required: true
22172217
schema:
2218-
$ref: "SwarmCommon.yaml#/components/schemas/SwarmAddress"
2218+
$ref: "SwarmCommon.yaml#/components/schemas/WithdrawCoin"
22192219
responses:
22202220
"200":
22212221
content:

openapi/SwarmCommon.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,6 +768,12 @@ components:
768768
walletAddress:
769769
$ref: "#/components/schemas/EthereumAddress"
770770

771+
WithdrawCoin:
772+
type: string
773+
enum:
774+
- "bzz"
775+
- "nativetoken"
776+
771777
RedistributionStatusResponse:
772778
type: object
773779
properties:

0 commit comments

Comments
 (0)