Browse Source

fix(nocodb): update swagger file for form banner & logo url

pull/7768/head
Ramesh Mane 9 months ago
parent
commit
f50531cf25
  1. 54
      packages/nocodb/src/schema/swagger-v2.json
  2. 54
      packages/nocodb/src/schema/swagger.json

54
packages/nocodb/src/schema/swagger-v2.json

@ -5714,7 +5714,7 @@
"examples": { "examples": {
"Example 1": { "Example 1": {
"value": { "value": {
"banner_image_url": null, "banner_image_url": "{\"path\":\"download/noco/pm0umqsip16i1u5/m8yn03dncqal6ri//7XeRtAlAOch-9THAFI.png\",\"title\":\"Screenshot 2024-03-01 at 11.24.39AM.png\",\"mimetype\":\"image/png\",\"size\":392533}",
"email": "user@example.com", "email": "user@example.com",
"heading": "My Form", "heading": "My Form",
"lock_type": "collaborative", "lock_type": "collaborative",
@ -5755,7 +5755,7 @@
"Example 1": { "Example 1": {
"value": { "value": {
"source_id": "ds_g4ccx6e77h1dmi", "source_id": "ds_g4ccx6e77h1dmi",
"banner_image_url": null, "banner_image_url": "{\"path\":\"download/noco/pm0umqsip16i1u5/m8yn03dncqal6ri//7XeRtAlAOch-9THAFI.png\",\"title\":\"Screenshot 2024-03-01 at 11.24.39AM.png\",\"mimetype\":\"image/png\",\"size\":392533,\"signedPath\":\"dltemp/93tI0NcweqZcn7qH/1709286000000/noco/pm0umqsip16i1u5/m8yn03dncqal6ri//7XeRtAlAOch-9THAFI.png\"}",
"columns": [ "columns": [
{ {
"id": "fvc_ugj9zo5bzocxtl", "id": "fvc_ugj9zo5bzocxtl",
@ -12978,7 +12978,7 @@
"examples": [ "examples": [
{ {
"source_id": "ds_g4ccx6e77h1dmi", "source_id": "ds_g4ccx6e77h1dmi",
"banner_image_url": null, "banner_image_url": "{\"path\":\"download/noco/pm0umqsip16i1u5/m8yn03dncqal6ri//7XeRtAlAOch-9THAFI.png\",\"title\":\"Screenshot 2024-03-01 at 11.24.39AM.png\",\"mimetype\":\"image/png\",\"size\":392533}",
"columns": [ "columns": [
{ {
"id": "fvc_ugj9zo5bzocxtl", "id": "fvc_ugj9zo5bzocxtl",
@ -13002,7 +13002,7 @@
"fk_model_id": "md_rsu68aqjsbyqtl", "fk_model_id": "md_rsu68aqjsbyqtl",
"heading": "My Form", "heading": "My Form",
"lock_type": "collaborative", "lock_type": "collaborative",
"logo_url": null, "logo_url": "{\"path\":\"download/noco/pm0umqsip16i1u5/m8yn03dncqal6ri//7XeRtAlAOch-9THAFI.png\",\"title\":\"Screenshot 2024-03-01 at 11.24.39AM.png\",\"mimetype\":\"image/png\",\"size\":392533}",
"meta": null, "meta": null,
"redirect_after_secs": null, "redirect_after_secs": null,
"redirect_url": null, "redirect_url": null,
@ -13024,8 +13024,15 @@
} }
}, },
"banner_image_url": { "banner_image_url": {
"$ref": "#/components/schemas/StringOrNull", "description": "Banner Image URL",
"description": "Banner Image URL. Not in use currently." "oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}, },
"columns": { "columns": {
"type": "array", "type": "array",
@ -13067,8 +13074,15 @@
"example": "collaborative" "example": "collaborative"
}, },
"logo_url": { "logo_url": {
"$ref": "#/components/schemas/StringOrNull", "description": "Logo URL.",
"description": "Logo URL. Not in use currently." "oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}, },
"meta": { "meta": {
"$ref": "#/components/schemas/Meta", "$ref": "#/components/schemas/Meta",
@ -13113,7 +13127,7 @@
"description": "Model for Form Update Request", "description": "Model for Form Update Request",
"examples": [ "examples": [
{ {
"banner_image_url": null, "banner_image_url": "{\"path\":\"download/noco/pm0umqsip16i1u5/m8yn03dncqal6ri//7XeRtAlAOch-9THAFI.png\",\"title\":\"Screenshot 2024-03-01 at 11.24.39AM.png\",\"mimetype\":\"image/png\",\"size\":392533}",
"email": "user@example.com", "email": "user@example.com",
"heading": "My Form", "heading": "My Form",
"logo_url": null, "logo_url": null,
@ -13130,8 +13144,15 @@
"type": "object", "type": "object",
"properties": { "properties": {
"banner_image_url": { "banner_image_url": {
"$ref": "#/components/schemas/TextOrNull", "description": "Banner Image URL",
"description": "Banner Image URL. Not in use currently." "oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}, },
"email": { "email": {
"$ref": "#/components/schemas/StringOrNull", "$ref": "#/components/schemas/StringOrNull",
@ -13144,8 +13165,15 @@
"type": "string" "type": "string"
}, },
"logo_url": { "logo_url": {
"$ref": "#/components/schemas/TextOrNull", "description": "Logo URL.",
"description": "Logo URL. Not in use currently." "oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}, },
"meta": { "meta": {
"$ref": "#/components/schemas/Meta", "$ref": "#/components/schemas/Meta",

54
packages/nocodb/src/schema/swagger.json

@ -7426,7 +7426,7 @@
"examples": { "examples": {
"Example 1": { "Example 1": {
"value": { "value": {
"banner_image_url": null, "banner_image_url": "{\"path\":\"download/noco/pm0umqsip16i1u5/m8yn03dncqal6ri//7XeRtAlAOch-9THAFI.png\",\"title\":\"Screenshot 2024-03-01 at 11.24.39AM.png\",\"mimetype\":\"image/png\",\"size\":392533}",
"email": "user@example.com", "email": "user@example.com",
"heading": "My Form", "heading": "My Form",
"lock_type": "collaborative", "lock_type": "collaborative",
@ -7467,7 +7467,7 @@
"Example 1": { "Example 1": {
"value": { "value": {
"source_id": "ds_g4ccx6e77h1dmi", "source_id": "ds_g4ccx6e77h1dmi",
"banner_image_url": null, "banner_image_url": "{\"path\":\"download/noco/pm0umqsip16i1u5/m8yn03dncqal6ri//7XeRtAlAOch-9THAFI.png\",\"title\":\"Screenshot 2024-03-01 at 11.24.39AM.png\",\"mimetype\":\"image/png\",\"size\":392533,\"signedPath\":\"dltemp/93tI0NcweqZcn7qH/1709286000000/noco/pm0umqsip16i1u5/m8yn03dncqal6ri//7XeRtAlAOch-9THAFI.png\"}",
"columns": [ "columns": [
{ {
"id": "fvc_ugj9zo5bzocxtl", "id": "fvc_ugj9zo5bzocxtl",
@ -18620,7 +18620,7 @@
"examples": [ "examples": [
{ {
"source_id": "ds_g4ccx6e77h1dmi", "source_id": "ds_g4ccx6e77h1dmi",
"banner_image_url": null, "banner_image_url": "{\"path\":\"download/noco/pm0umqsip16i1u5/m8yn03dncqal6ri//7XeRtAlAOch-9THAFI.png\",\"title\":\"Screenshot 2024-03-01 at 11.24.39AM.png\",\"mimetype\":\"image/png\",\"size\":392533}",
"columns": [ "columns": [
{ {
"id": "fvc_ugj9zo5bzocxtl", "id": "fvc_ugj9zo5bzocxtl",
@ -18644,7 +18644,7 @@
"fk_model_id": "md_rsu68aqjsbyqtl", "fk_model_id": "md_rsu68aqjsbyqtl",
"heading": "My Form", "heading": "My Form",
"lock_type": "collaborative", "lock_type": "collaborative",
"logo_url": null, "logo_url": "{\"path\":\"download/noco/pm0umqsip16i1u5/m8yn03dncqal6ri//7XeRtAlAOch-9THAFI.png\",\"title\":\"Screenshot 2024-03-01 at 11.24.39AM.png\",\"mimetype\":\"image/png\",\"size\":392533}",
"meta": null, "meta": null,
"redirect_after_secs": null, "redirect_after_secs": null,
"redirect_url": null, "redirect_url": null,
@ -18666,8 +18666,15 @@
} }
}, },
"banner_image_url": { "banner_image_url": {
"$ref": "#/components/schemas/TextOrNull", "description": "Banner Image URL",
"description": "Banner Image URL. Not in use currently." "oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}, },
"columns": { "columns": {
"type": "array", "type": "array",
@ -18709,8 +18716,15 @@
"example": "collaborative" "example": "collaborative"
}, },
"logo_url": { "logo_url": {
"$ref": "#/components/schemas/TextOrNull", "description": "Logo URL",
"description": "Logo URL. Not in use currently." "oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}, },
"meta": { "meta": {
"$ref": "#/components/schemas/Meta", "$ref": "#/components/schemas/Meta",
@ -18755,7 +18769,7 @@
"description": "Model for Form Update Request", "description": "Model for Form Update Request",
"examples": [ "examples": [
{ {
"banner_image_url": null, "banner_image_url": "{\"path\":\"download/noco/pm0umqsip16i1u5/m8yn03dncqal6ri//7XeRtAlAOch-9THAFI.png\",\"title\":\"Screenshot 2024-03-01 at 11.24.39AM.png\",\"mimetype\":\"image/png\",\"size\":392533}",
"email": "user@example.com", "email": "user@example.com",
"heading": "My Form", "heading": "My Form",
"logo_url": null, "logo_url": null,
@ -18772,8 +18786,15 @@
"type": "object", "type": "object",
"properties": { "properties": {
"banner_image_url": { "banner_image_url": {
"$ref": "#/components/schemas/StringOrNull", "description": "Banner Image URL",
"description": "Banner Image URL. Not in use currently." "oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}, },
"email": { "email": {
"$ref": "#/components/schemas/StringOrNull", "$ref": "#/components/schemas/StringOrNull",
@ -18786,8 +18807,15 @@
"type": "string" "type": "string"
}, },
"logo_url": { "logo_url": {
"$ref": "#/components/schemas/StringOrNull", "description": "Logo URL",
"description": "Logo URL. Not in use currently." "oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}, },
"meta": { "meta": {
"$ref": "#/components/schemas/Meta", "$ref": "#/components/schemas/Meta",

Loading…
Cancel
Save