Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Transformations are not visible in Documentation plugin #100

Open
SalahAdDin opened this issue May 2, 2024 · 0 comments
Open

[FEAT] Transformations are not visible in Documentation plugin #100

SalahAdDin opened this issue May 2, 2024 · 0 comments

Comments

@SalahAdDin
Copy link

We are using this plugin to avoid that much nestedness coming from Strapi 4.

It works fine.

When we want to work the API on Frontend we need the documentation plugin so we know what are we getting for any API request.

The problem is, that we don't see any changes done by the transformer in the documentation,
image

Here is our configuration:

  transformer: {
    enabled: true,
    config: {
      responseTransforms: {
        removeAttributesKey: true,
        removeDataKey: true,
      },
      requestTransforms: {
        wrapBodyWithDataKey: true,
      },
    },
  },

Why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant