Skip to content

Instantly share code, notes, and snippets.

@blugavere
Last active April 5, 2017 19:05
Show Gist options
  • Save blugavere/54d570026253c884ba69ebdeeafe6a10 to your computer and use it in GitHub Desktop.
Save blugavere/54d570026253c884ba69ebdeeafe6a10 to your computer and use it in GitHub Desktop.
// this is an example a JSON Swagger Spec
{
"swagger": "2.0",
"info": {
"title": "Uber API",
"description": "Move your app forward with the Uber API",
"version": "1.0.0"
},
"basePath": "/v1",
"produces": [
"application/json"
],
"paths": {
"/products": {
"get": {
"summary": "Product Types",
"description": "Blah blah blah",
"tags": ["Products"]
}
}
}
}
// remaining code ommitted for brevity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment