Created
February 11, 2016 23:56
-
-
Save foragerr/1daf27b05abab842d197 to your computer and use it in GitHub Desktop.
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":{ | |
"description":"We Foo", | |
"version":"1.0", | |
"title":"Service REST API", | |
"termsOfService":"[email protected]", | |
"contact":{ | |
"name":"Foundation team" | |
}, | |
"license":{ | |
"name":"API License", | |
"url":"API License URL" | |
} | |
}, | |
"host":"localhost:8080", | |
"basePath":"/foo-service", | |
"tags":[ | |
{ | |
"name":"about-controller", | |
"description":"About Controller" | |
} | |
], | |
"paths":{ | |
"/about":{ | |
"get":{ | |
"tags":[ | |
"about-controller" | |
], | |
"summary":"getProperties", | |
"operationId":"getPropertiesUsingGET", | |
"consumes":[ | |
"application/json" | |
], | |
"produces":[ | |
"*/*" | |
], | |
"responses":{ | |
"200":{ | |
"description":"OK", | |
"schema":{ | |
"type":"object", | |
"additionalProperties":{ | |
"type":"string" | |
} | |
} | |
}, | |
"401":{ | |
"description":"Unauthorized" | |
}, | |
"403":{ | |
"description":"Forbidden" | |
}, | |
"404":{ | |
"description":"Not Found" | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment