Skip to content

Draft: Temporarily roll back Swagger for webpack to work

Mohamed Moustafa requested to merge mtimoustafa/test-rollback-swagger into master

What does this MR do and why?

Not for merging

This is intended as a temporary fix for Fix imports for @swagger-api/apidom-reference (!147419 - merged), whereby Webpack throws the following error and refuses to shut down cleanly:

/Users/[username]/gitlab-development-kit/gitlab/node_modules/swagger-client/es/execute/index.js
Module not found: Error: Can't resolve '@swagger-api/apidom-reference/configuration/empty' in '/Users/[username]/gitlab-development-kit/gitlab/node_modules/swagger-client/es/execute'

If you get this error, you can attempt to cherry pick this MR's commit as a temporary bypass.

Troubleshooting discussion happening on Slack: https://gitlab.slack.com/archives/C2Z9A056E/p1712825364993029.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

N/A

How to set up and validate locally

N/A

Merge request reports