Browse Source

fix(nocodb): update swagger api

pull/7611/head
DarkPhoenix2704 7 months ago
parent
commit
ef572bb59c
  1. 1
      packages/nocodb/src/modules/metas/metas.module.ts
  2. 16
      packages/nocodb/src/schema/swagger.json

1
packages/nocodb/src/modules/metas/metas.module.ts

@ -97,6 +97,7 @@ export const metaModuleMetadata = {
AuditsController, AuditsController,
SourcesController, SourcesController,
CachesController, CachesController,
CalendarsController,
ColumnsController, ColumnsController,
FiltersController, FiltersController,
FormColumnsController, FormColumnsController,

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

@ -8351,7 +8351,7 @@
] ]
} }
}, },
"/api/v1/db/meta/tables/{tableId}/calendar": { "/api/v1/db/meta/tables/{tableId}/calendars": {
"parameters": [ "parameters": [
{ {
"schema": { "schema": {
@ -8442,7 +8442,7 @@
] ]
} }
}, },
"/api/v1/db/meta/calendar/{calendarViewId}": { "/api/v1/db/meta/calendars/{calendarViewId}": {
"parameters": [ "parameters": [
{ {
"schema": { "schema": {
@ -20457,20 +20457,16 @@
"title": "Calendar Date Range Model", "title": "Calendar Date Range Model",
"type": "object", "type": "object",
"properties": { "properties": {
"id": {
"$ref": "#/components/schemas/Id",
"description": "Unique ID"
},
"fk_from_column_id": { "fk_from_column_id": {
"$ref": "#/components/schemas/Id", "$ref": "#/components/schemas/StringOrNull",
"description": "Foreign Key to Column" "description": "Foreign Key to Column"
}, },
"fk_to_column_id": { "fk_to_column_id": {
"$ref": "#/components/schemas/Id", "$ref": "#/components/schemas/StringOrNull",
"description": "Foreign Key to Column" "description": "Foreign Key to Column"
}, },
"fk_view_id": { "fk_view_id": {
"$ref": "#/components/schemas/Id", "$ref": "#/components/schemas/StringOrNull",
"x-stoplight": { "x-stoplight": {
"id": "t1fy4zy561ih8" "id": "t1fy4zy561ih8"
}, },
@ -23849,7 +23845,7 @@
}, },
{ {
"title": "My Calendar View", "title": "My Calendar View",
"type": 4, "type": 6,
"copy_from_id": null, "copy_from_id": null,
"fk_grp_col_id": null, "fk_grp_col_id": null,
"fk_geo_data_col_id": null, "fk_geo_data_col_id": null,

Loading…
Cancel
Save