-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
bugSomething isn't workingSomething isn't working
Description
It seems the type for message
within FireFlyTokenTransferRequest
is incorrect. Instead of accepting a message object, it is expecting a string.
requestBody: {
content: {
"application/json": {
....
....
/**
* Format: uuid
* @description The UUID of a message that has been correlated with this transfer using the data field of the transfer in a compatible token connector
*/
message?: string;
....
....
};
};
};
https://github.com/hyperledger/firefly/blob/main/pkg/core/tokentransfer.go#L29-L55
This may be a limitation of the swagger generator, because Message
is type fftypes.UUID
on TokenTransfer
, but the actual input for that api is TokenTransferInput
, which wraps TokenTransfer
and also has a Message
field of type MessageInOut
.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working