Browse Source

fix: swagger schema corrections

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5174/head
Pranav C 2 years ago
parent
commit
ed401ba830
  1. 137
      scripts/sdk/swagger.json

137
scripts/sdk/swagger.json

@ -8133,10 +8133,24 @@
"type": "string" "type": "string"
}, },
"fk_view_id": { "fk_view_id": {
"type": "string" "oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}, },
"fk_hook_id": { "fk_hook_id": {
"type": "string" "oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
} }
}, },
"readOnly": true "readOnly": true
@ -8200,10 +8214,24 @@
"type": "string" "type": "string"
}, },
"fk_view_id": { "fk_view_id": {
"type": "string" "oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}, },
"fk_hook_id": { "fk_hook_id": {
"type": "string" "oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
} }
}, },
"readOnly": true "readOnly": true
@ -9044,18 +9072,29 @@
"type": "string" "type": "string"
}, },
"fk_grp_col_id": { "fk_grp_col_id": {
"type": [ "oneOf": [
"string", {
"null" "type": "string"
},
{
"type": "null"
}
] ]
}, },
"fk_cover_image_col_id": { "fk_cover_image_col_id": {
"type": "string" "type": "string"
}, },
"meta": { "meta": {
"type": [ "oneOf": [
"string", {
"object" "type": "object"
},
{
"type": "null"
},
{
"type": "string"
}
] ]
} }
} }
@ -9100,9 +9139,13 @@
"minLength": 1 "minLength": 1
}, },
"fk_geo_data_col_id": { "fk_geo_data_col_id": {
"type": [ "oneOf": [
"string", {
"null" "type": "string"
},
{
"type": "null"
}
] ]
}, },
"columns": { "columns": {
@ -9112,9 +9155,13 @@
} }
}, },
"meta": { "meta": {
"type": [ "oneOf": [
"string", {
"object" "type": "string"
},
{
"type": "object"
}
] ]
} }
} }
@ -9382,13 +9429,17 @@
"type": "integer" "type": "integer"
}, },
"sort": { "sort": {
"type": [ "oneOf": [
"string", {
"array" "type": "string"
], },
"items": { {
"$ref": "#/components/schemas/Sort" "type": "array",
} "items": {
"$ref": "#/components/schemas/Sort"
}
}
]
}, },
"isFirstPage": { "isFirstPage": {
"type": "boolean" "type": "boolean"
@ -9681,9 +9732,7 @@
"async": { "async": {
"type": "boolean" "type": "boolean"
}, },
"payload": { "payload": { },
"type": "string"
},
"url": { "url": {
"type": "string" "type": "string"
}, },
@ -9764,9 +9813,7 @@
} }
] ]
}, },
"payload": { "payload": {},
"type": "string"
},
"url": { "url": {
"type": "string" "type": "string"
}, },
@ -9936,9 +9983,20 @@
"type": "string" "type": "string"
}, },
"input": { "input": {
"type": [
"string", "items": {
"null" "$ref": "#/components/schemas/Sort"
}
"oneOf": [
{
"type": "string"
},
{
"type": "integer"
},
{
"type": "null"
}
] ]
}, },
"creator": { "creator": {
@ -10013,7 +10071,16 @@
"type": "string" "type": "string"
}, },
"fk_hook_id": { "fk_hook_id": {
"type": "string"
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}, },
"type": { "type": {
"type": "string" "type": "string"
@ -10027,9 +10094,7 @@
"test_call": { "test_call": {
"type": "boolean" "type": "boolean"
}, },
"payload": { "payload": {},
"type": "string"
},
"conditions": { "conditions": {
"type": "string" "type": "string"
}, },

Loading…
Cancel
Save