Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[MINOR] docs: fix example of JDBC in OAS (#2107)

mchades7de995021687
diff --git a/docs/open-api/tables.yaml b/docs/open-api/tables.yaml
index b66f1e5c8d..2bfcaf7726 100644
--- a/docs/open-api/tables.yaml
+++ b/docs/open-api/tables.yaml
@@ -827,20 +827,25 @@ components:
"columns": [
{
"name": "id",
- "type": "int",
+ "type": "integer",
"comment": "id column comment",
"nullable": false,
"autoIncrement": true
},
{
"name": "name",
- "type": "string",
+ "type": "varchar(255)",
"comment": "name column comment",
- "nullable": true
+ "nullable": true,
+ "defaultValue": {
+ "type": "literal",
+ "dataType": "varchar(255)",
+ "value": "default_name"
+ }
},
{
"name": "age",
- "type": "int",
+ "type": "integer",
"comment": "age column comment",
"nullable": true
},
@@ -881,7 +886,7 @@ components:
"columns": [
{
"name": "id",
- "type": "int",
+ "type": "integer",
"comment": "id column comment",
"nullable": false,
"autoIncrement": true
@@ -894,7 +899,7 @@ components:
},
{
"name": "age",
- "type": "int",
+ "type": "integer",
"comment": "age column comment",
"nullable": true
},