Browse Source

fix(api): remove wrapped property from swagger api response

- it's only required for sdk generation

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4044/head
Pranav C 2 years ago
parent
commit
558653e635
  1. 2
      packages/nocodb/src/lib/meta/api/swagger/helpers/templates/paths.ts

2
packages/nocodb/src/lib/meta/api/swagger/helpers/templates/paths.ts

@ -464,7 +464,6 @@ export const getModelPaths = async (ctx: {
description: description:
'Export all the records from a table.Currently we are only supports `csv` export.', 'Export all the records from a table.Currently we are only supports `csv` export.',
tags: [ctx.tableName], tags: [ctx.tableName],
wrapped: true,
responses: { responses: {
'200': { '200': {
description: 'OK', description: 'OK',
@ -645,7 +644,6 @@ export const getViewPaths = async (ctx: {
description: description:
'Export all the records from a table view. Currently we are only supports `csv` export.', 'Export all the records from a table view. Currently we are only supports `csv` export.',
tags: [`${ctx.viewName} ( ${ctx.tableName} grid )`], tags: [`${ctx.viewName} ( ${ctx.tableName} grid )`],
wrapped: true,
responses: { responses: {
'200': { '200': {
description: 'OK', description: 'OK',

Loading…
Cancel
Save