Convert JSON to YAML
1 min
Converts a JSON object to a YAML Output. Supports most yaml conversions. Useful to create yml files for configuration or Open API Specifications
API Definition
JSON to YML
Call the following API:
POST
https://orca.pathfix.com/functions/json/toyaml
{
"input": {
"title": "Sample Pet Store App",
"summary": "A pet store manager.",
"description": "This is a sample server for a pet store.",
"termsOfService": "https://example.com/terms/",
"contact": {
"name": "API Support",
"url": "https://www.example.com/support",
"email": "[email protected]"
},
"license": {
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "1.0.1"
}
}