showdown
showdown copied to clipboard
YML metadata does not support objects/arrays in it
I'm trying to get datas that have objects and arrays on it in a YML format, but it returns something wrong
.md file:
description: Remove a track by its UID from your favorite tracks
route: /api/token/map/favorite/{mapUid}/remove
method: POST
parameters:
path:
mapUid:
type: string
description: The UID of the map
required: true
default: ""
Returned object:
Excepted:
{
"description": "Remove a track by its UID from your favorite tracks",
"route": "/api/token/map/favorite/{mapUid}/remove",
"method": "POST",
"parameters": {
"path": {
"mapUid": {
"type": "string",
"description": "The UID of the map",
"required": true,
"default": ""
}
}
}
}
Actual:
{
"description": "Remove a track by its UID from your favorite tracks",
"route": "/api/token/map/favorite/{mapUid}/remove",
"method": "POST",
"parameters: path: mapUid: type: string description: The UID of the map required: true default": """"
}
agreed