Browse Source

fix: replace oneOf with anyOf

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5174/head
Pranav C 2 years ago
parent
commit
06f7bcc2be
  1. 1
      packages/nocodb/src/lib/meta/api/tableApis.ts
  2. 10
      scripts/sdk/swagger.json

1
packages/nocodb/src/lib/meta/api/tableApis.ts

@ -6,7 +6,6 @@ import DOMPurify from 'isomorphic-dompurify';
import {
AuditOperationSubTypes,
AuditOperationTypes,
ColumnType,
isVirtualCol,
ModelTypes,
NormalColumnRequestType,

10
scripts/sdk/swagger.json

@ -10170,6 +10170,7 @@
}
},
"LinkToAnotherColumnReq": {
"type": "object",
"properties": {
"uidt": {
"type": "string",
@ -10207,6 +10208,7 @@
]
},
"RollupColumnReq": {
"type": "object",
"properties": {
"uidt": {
"type": "string",
@ -10266,10 +10268,7 @@
"ColumnReq": {
"allOf": [
{
"oneOf": [
{
"$ref": "#/components/schemas/NormalColumnRequest"
},
"anyOf": [
{
"$ref": "#/components/schemas/LinkToAnotherColumnReq"
},
@ -10281,6 +10280,9 @@
},
{
"$ref": "#/components/schemas/LookupColumnReq"
},
{
"$ref": "#/components/schemas/NormalColumnRequest"
}
]
},

Loading…
Cancel
Save