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 { import {
AuditOperationSubTypes, AuditOperationSubTypes,
AuditOperationTypes, AuditOperationTypes,
ColumnType,
isVirtualCol, isVirtualCol,
ModelTypes, ModelTypes,
NormalColumnRequestType, NormalColumnRequestType,

10
scripts/sdk/swagger.json

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

Loading…
Cancel
Save