Last active
August 29, 2015 14:14
-
-
Save KFoxder/2bbb812b6a1c76ae80de to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| { | |
| "apiVersion": "0.0.4542.22887", | |
| "swaggerVersion": "1.0", | |
| "basePath": "http://local.api.com/api", | |
| "resourcePath": "/donuts", | |
| "apis": [ | |
| { | |
| "path": "/donuts/{page}/{pagesize}", | |
| "description": "Get donuts by page", | |
| "operations": [ | |
| { | |
| "httpMethod": "GET", | |
| "notes": "Get a donut with page and size", | |
| "nickname": "getDonutsByPageAndSize", | |
| "summary": "Get a collection of donuts by page and pagesize.", | |
| "parameters": [ | |
| { | |
| "name": "page", | |
| "description": "the page of the collection", | |
| "dataType": "int", | |
| "required": true, | |
| "allowMultiple": false, | |
| "paramType": "path" | |
| }, | |
| { | |
| "name": "pagesize", | |
| "description": "the size of the collection", | |
| "dataType": "int", | |
| "required": true, | |
| "allowMultiple": false, | |
| "paramType": "path" | |
| } | |
| ], | |
| "errorResponses": [ ] | |
| } | |
| ] | |
| }, | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment