Closed fmvilas closed 6 years ago
topics:
accounts.1.0.action.user.signup:
publish:
$ref: "#/components/messages/userSignUp"
accounts.1.0.event.user.signup:
publish:
payload:
type: "string"
description: "Simple response string"
default: "test"
Seems to work for me already!?
Yes. I forgot to close this issue. Thanks!
We're currently documenting message payloads as if they're always JSON objects, but the reality is that it can be something else, for instance, a number. Here's an example:
https://ubidots.com/docs/api/mqtt.html#subscribe-to-a-variable
It says:
That's especially important for IoT devices.