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

Loading…
Cancel
Save