{
  "openapi": "3.0.1",
  "info": {
    "title": "CradoWebAPI",
    "version": "v1"
  },
  "paths": {
    "/api/v1/Bitkub": {
      "get": {
        "tags": [
          "Bitkub"
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/v1/Bitkub/placeorder": {
      "post": {
        "tags": [
          "Bitkub"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/PlaceOrderRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PlaceOrderRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PlaceOrderRequestDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PlaceOrderRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/api/v1/Bitkub/placeorder_range": {
      "post": {
        "tags": [
          "Bitkub"
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/PlaceOrderRangeRequestDto"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PlaceOrderRangeRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PlaceOrderRangeRequestDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PlaceOrderRangeRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "PlaceOrderRequestDto": {
        "type": "object",
        "properties": {
          "order": {
            "type": "string",
            "nullable": true
          },
          "apiKey": {
            "type": "string",
            "nullable": true
          },
          "secretKey": {
            "type": "string",
            "nullable": true
          },
          "rate": {
            "type": "number",
            "format": "double"
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "symbol": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PlaceOrderRangeRequestDto": {
        "type": "object",
        "properties": {
          "order": {
            "type": "string",
            "nullable": true
          },
          "apiKey": {
            "type": "string",
            "nullable": true
          },
          "secretKey": {
            "type": "string",
            "nullable": true
          },
          "rate": {
            "type": "number",
            "format": "double"
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "symbol": {
            "type": "string",
            "nullable": true
          },
          "rate_min": {
            "type": "number",
            "format": "double"
          },
          "rate_max": {
            "type": "number",
            "format": "double"
          },
          "qty": {
            "type": "number",
            "format": "double"
          },
          "swing_amount_percent": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      }
    }
  }
}