-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
While trying to use the voxa cli to generate an alexa publishing information json i realized that it's not possible to use numbers cause they always become strings in the generated json
Example:
| value | key |
|---|---|
| HUB | alexa.apis.custom.interfaces[0].supportedViewports[0].mode |
| ROUND | alexa.apis.custom.interfaces[0].supportedViewports[0].shape |
| 480 | alexa.apis.custom.interfaces[0].supportedViewports[0].minWidth |
| 480 | alexa.apis.custom.interfaces[0].supportedViewports[0].maxWidth |
| 480 | alexa.apis.custom.interfaces[0].supportedViewports[0].minHeight |
| 480 | alexa.apis.custom.interfaces[0].supportedViewports[0].maxHeight |
Expected:
{
"supportedViewports": [
{
"mode": "HUB",
"shape": "ROUND",
"minWidth": 480,
"maxWidth": 480,
"minHeight": 480,
"maxHeight": 480
}
]
}Actual:
{
"supportedViewports": [
{
"mode": "HUB",
"shape": "ROUND",
"minWidth": "480",
"maxWidth": "480",
"minHeight": "480",
"maxHeight": "480"
}
]
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels