{
  "swagger": "2.0",
  "info": {
    "title": "demo/demo.proto",
    "version": "version not set"
  },
  "schemes": [
    "http",
    "https"
  ],
  "consumes": [
    "application/json"
  ],
  "produces": [
    "application/json"
  ],
  "paths": {
    "/v1/getDemoOrder": {
      "post": {
        "operationId": "GetDemoOrderApi",
        "responses": {
          "200": {
            "description": "",
            "schema": {
              "$ref": "#/definitions/orderOrder"
            }
          }
        },
        "parameters": [
          {
            "name": "body",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/demoGetDemoOrderRequest"
            }
          }
        ],
        "tags": [
          "DemoApiService"
        ]
      }
    }
  },
  "definitions": {
    "demoGetDemoOrderRequest": {
      "type": "object",
      "properties": {
        "param_int64": {
          "type": "string",
          "format": "int64",
          "title": "*\n{\n\"Joi\": {\n\"required\": true,\n\"valid\": [ 200, 300, 400 ]\n}\n}"
        },
        "param_int32": {
          "type": "integer",
          "format": "int32",
          "title": "*\n{\n\"Joi\": {\n\"required\": true,\n\"greater\": 3000,\n\"less\": 6000\n}\n}"
        },
        "param_bool": {
          "type": "boolean",
          "format": "boolean",
          "title": "*\n{\n\"Joi\": {\n\"required\": false,\n\"defaultValue\": false,\n\"truthy\": [ \"1\", 1, \"true\" ],\n\"falsy\": [ \"0\", 0, \"false\" ]\n}\n}"
        },
        "param_string": {
          "type": "string",
          "title": "*\n{\n\"Joi\": {\n\"required\": false,\n\"defaultValue\": \"string\",\n\"max\": 50,\n\"min\": 5\n}\n}"
        }
      }
    },
    "orderOrder": {
      "type": "object",
      "properties": {
        "order_id": {
          "type": "string",
          "format": "int64"
        },
        "user_id": {
          "type": "string"
        },
        "price": {
          "type": "string"
        },
        "ispayed": {
          "type": "boolean",
          "format": "boolean"
        },
        "items": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        }
      }
    }
  }
}
