Here you can find few Questions and Answers about this tool
It's usual to worry about Data Privacy. This tool is completely opensource 🥳 and hosted on GitHub Pages. Not even a bit of your input is processed or sent anywhere ❌. So, don't worry about secrets they are safe with you 😁😁
This tool supports JSON Object, JSON Array, String, Number, Boolean & Null
types
if RAML has sampleKey: string
and you want to make this optional then change it to sampleKey?: string
if RAML has sampleKey: string
and you want to make this accept both string or null then change it to sampleKey: string | nil
You can use their official GitHub Handle : RAML Guide
Sample Input :
{
"id": "1250d74",
"name": "Client",
"type": "drop_down",
"config": {
"default": 0,
"placeholder": null,
"options": [
{
"id": "a545a133-3acd-45d1-b3c7-670352c9f968",
"name": "On Track ",
"color": "#2ecd6f",
"orderindex": 0,
"value": null
},
{
"id": "0dcd9036-88e0-4833-b9fc-519f61190bed",
"name": "At Risk",
"color": "#f9d900",
"orderindex": 1
},
{
"id": "82984243-5038-4fb4-a494-4bae0af4cc61",
"name": "Off Track",
"color": "#e50000",
"orderindex": 2
}
]
}
}
If you observe in the above options array options[0] has extra key called value
which is not there in options[1] or options[2]. So while validating the RAML you'll required property not found error.
To Solve this use ? to make the key optional.