Last active
August 29, 2015 14:14
-
-
Save KFoxder/2bbb812b6a1c76ae80de to your computer and use it in GitHub Desktop.
Revisions
-
KFoxder revised this gist
Feb 7, 2015 . 1 changed file with 23 additions and 36 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,39 +1,26 @@ { "swaggerVersion": "1.2", "basePath": "http://localhost:8000/greetings", "apis": [ { "path": "/hello/{subject}", "operations": [ { "method": "GET", "summary": "Greet our subject with hello!", "type": "string", "nickname": "helloSubject", "parameters": [ { "name": "subject", "description": "The subject to be greeted.", "required": true, "type": "string", "paramType": "path" } ] } ] } ] } -
KFoxder renamed this gist
Feb 7, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
KFoxder created this gist
Feb 7, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,39 @@ { "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": [ ] } ] }, ] }