{
  "consumes": [
    "application/json"
  ],
  "produces": [
    "application/json"
  ],
  "schemes": [
    "http",
    "https"
  ],
  "swagger": "2.0",
  "info": {
    "title": "Sample API.",
    "version": "1.0.0"
  },
  "paths": {
    "/hello": {
      "get": {
        "description": "Hello",
        "operationId": "hello",
        "responses": {
          "200": {
            "description": "success"
          }
        }
      }
    }
  },
  "definitions": {
    "Author": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        }
      }
    },
    "Book": {
      "type": "object",
      "properties": {
        "author": {
          "$ref": "#/definitions/Author"
        }
      }
    }
  }
}
