{
  "openapi": "3.0.0",
  "info": {
    "title": "Legend API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "test"
    }
  ],
  "paths": {
    "/service/testOpenApi": {
      "get": {
        "tags": [
          "definition"
        ],
        "responses": {
          "200": {
            "description": "success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TabularDataSet",
                  "specificationExtensions": {
                    "x-tdsResultColumns": [
                      {
                        "column": "firstName",
                        "type": "string"
                      }
                    ]
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "definition"
        ],
        "responses": {
          "200": {
            "description": "success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TabularDataSet",
                  "specificationExtensions": {
                    "x-tdsResultColumns": [
                      {
                        "column": "firstName",
                        "type": "string"
                      }
                    ]
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "TDSRow": {
        "type": "object",
        "properties": {
          "parent": {
            "$ref": "#/components/schemas/TabularDataSet"
          },
          "values": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Any"
            }
          }
        }
      },
      "TabularDataSet": {
        "type": "object",
        "properties": {
          "columns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TDSColumn"
            }
          },
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TDSRow"
            }
          }
        }
      },
      "DataType": {
        "type": "object",
        "properties": {}
      },
      "Any": {
        "type": "object",
        "properties": {}
      },
      "TDSColumn": {
        "type": "object",
        "properties": {
          "enumMapping": {
            "$ref": "#/components/schemas/EnumerationMapping"
          },
          "documentation": {
            "type": "string"
          },
          "offset": {
            "type": "integer"
          },
          "type": {
            "$ref": "#/components/schemas/DataType"
          },
          "enumMappingId": {
            "type": "string"
          },
          "sourceDataType": {
            "$ref": "#/components/schemas/Any"
          },
          "name": {
            "type": "string"
          }
        }
      }
    }
  }
}