{
"swagger": "2.0",
"info": {
"version": "1.0.0",
"title": "Swagger Foo",
"description": "FooFooFooFoo",
"termsOfService": "http://swagger.io/terms/",
"contact": {
"name": "Swagger API Team"
},
"license": {
"name": "MIT"
}
},
"host": "Foo.swagger.io",
"basePath": "/fooBasePath",
"schemes": [
"http"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/foos": {
"get": {
"description": "Returns all Foos from the system that the user has access to",
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "A list of Foos.",
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/Pet"
}
}
}
}
}
}
},
"definitions": {
"Pet": {
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "integer",
"format": "int64"
},
"name": {
"type": "string"
},
"tag": {
"type": "string"
}
}
}
}
}