{
  "swagger": "2.0",
  "info": {
    "title": "Calculator Service",
    "version": "0.0.1"
  },
  "host": "localhost:80",
  "consumes": [
    "application/json",
    "application/xml",
    "application/gob"
  ],
  "produces": [
    "application/json",
    "application/xml",
    "application/gob"
  ],
  "paths": {
    "/add/{left}/{right}": {
      "get": {
        "tags": [
          "calc"
        ],
        "summary": "add calc",
        "operationId": "calc#add",
        "parameters": [
          {
            "name": "left",
            "in": "path",
            "description": "Left operand",
            "required": true,
            "type": "integer"
          },
          {
            "name": "right",
            "in": "path",
            "description": "Right operand",
            "required": true,
            "type": "integer"
          }
        ],
        "responses": {
          "200": {
            "description": "OK response.",
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        },
        "schemes": [
          "http"
        ]
      }
    },
    "/swagger.json": {
      "get": {
        "tags": [
          "calc"
        ],
        "summary": "Download ../../gen/http/openapi.json",
        "operationId": "calc#/swagger.json",
        "responses": {
          "200": {
            "description": "File downloaded",
            "schema": {
              "type": "file"
            }
          }
        },
        "schemes": [
          "http"
        ]
      }
    }
  }
}