Skip to content

Instantly share code, notes, and snippets.

@jrbasso
Created August 5, 2012 19:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrbasso/3266700 to your computer and use it in GitHub Desktop.
Save jrbasso/3266700 to your computer and use it in GitHub Desktop.
{
"data": {
"ControllerName": [{
"resource": "ControllerName",
"http_method": "GET",
"uri": "\/controller_name",
"params": [],
"doc_comment": {
"description": "List all the things",
"tags": {
"inputParam": {
"filter": {
"description": "Describe what is the expected value",
"optional": true
}
},
"return": {
"type": "array",
"description": ""
},
"returnParam": {
"[][reference]": {
"description": "Reference for some record",
"optional": false
},
"[][name]": {
"description": "Another field",
"optional": false
}
},
"since": {
"version": "v1.0",
"description": ""
}
}
},
"location": {
"class": "Zumba\\Service\\Controller\\ControllerName",
"method": "getList",
"line": 53
}
}]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment