sunilBP
3 years agoOccasional Visitor
JSON TO YAML conversion
Hello Everyone,
I am new to the swagger platform. So this might be a very basic question but I am not able to achieve this so please help me with this.
Question: I want to convert the JSON to YAML with valid data types so that I can copy-paste and use it. Else can someone guide how we can put the JSON in the definition?
I tried the online tool to convert but the tools are not adding the data type so without data type swagger is not saving my code.
sample JSON
{
"records": [
{
"AccountId": "0011X000010JyvBQAS",
"UserId": "0051j000009kO2kAAE",
"TeamMemberRole": "Sales Rep"
}
]
}