Skip to content

Commit

Permalink
[MINOR] docs: fix example of JDBC in OAS (apache#2107)
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?

fix example of JDBC in OAS

### Why are the changes needed?

The example does not work

### Does this PR introduce _any_ user-facing change?

no

### How was this patch tested?

local test
  • Loading branch information
mchades authored Feb 6, 2024
1 parent d49c809 commit 7de9950
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions docs/open-api/tables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down Expand Up @@ -881,7 +886,7 @@ components:
"columns": [
{
"name": "id",
"type": "int",
"type": "integer",
"comment": "id column comment",
"nullable": false,
"autoIncrement": true
Expand All @@ -894,7 +899,7 @@ components:
},
{
"name": "age",
"type": "int",
"type": "integer",
"comment": "age column comment",
"nullable": true
},
Expand Down

0 comments on commit 7de9950

Please sign in to comment.