Created
September 20, 2018 20:36
-
-
Save aaronj314/8032c81354c94a581587ef0c13eed2ae to your computer and use it in GitHub Desktop.
apibuilder-demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"swagger": "2.0", | |
"info": { | |
"version": "1.0.0", | |
"title": "Vehicles", | |
"description": "Vehicles API" | |
}, | |
"paths": { | |
"/": { | |
"get": { | |
"operationId": "GET_root", | |
"summary": "findCars", | |
"produces": [ | |
"application/json", | |
"text/plain" | |
], | |
"parameters": [ | |
{ | |
"name": "makeid", | |
"in": "query", | |
"type": "string" | |
} | |
], | |
"responses": { | |
"200": { | |
"description": "", | |
"schema": { | |
"type": "object", | |
"properties": { | |
"make": { | |
"type": "string" | |
}, | |
"model": { | |
"type": "string" | |
} | |
} | |
} | |
}, | |
"400": { | |
"description": "Bad request", | |
"schema": { | |
"type": "object", | |
"properties": { | |
"description": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"definitions": {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment