Skip to content

Instantly share code, notes, and snippets.

@foragerr
Created February 11, 2016 23:56
Show Gist options
  • Save foragerr/1daf27b05abab842d197 to your computer and use it in GitHub Desktop.
Save foragerr/1daf27b05abab842d197 to your computer and use it in GitHub Desktop.
{
"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