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

Loading…
Cancel
Save