Skip to content

Instantly share code, notes, and snippets.

@zdne
Created September 14, 2013 08:58
Show Gist options
  • Save zdne/6560278 to your computer and use it in GitHub Desktop.
Save zdne/6560278 to your computer and use it in GitHub Desktop.
Example API Blueprint parser output in the JSON format
{
"_version": "1.0",
"metadata": {},
"name": "",
"description": "",
"resourceGroups": [
{
"name": "",
"description": "",
"resources": [
{
"name": "",
"description": "",
"uriTemplate": "/message",
"model": {},
"parameters": {},
"headers": {},
"actions": [
{
"name": "",
"description": "",
"method": "GET",
"parameters": {},
"headers": {},
"examples": [
{
"name": "",
"description": "",
"requests": [],
"responses": [
{
"name": "200",
"description": "",
"headers": {
"Content-Type": {
"value": "text/plain"
}
},
"body": "Hello World!\n",
"schema": ""
}
]
}
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment