Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

swagger-tools does not support with webpack #622

Open
sajjanhubale opened this issue Aug 23, 2020 · 1 comment
Open

swagger-tools does not support with webpack #622

sajjanhubale opened this issue Aug 23, 2020 · 1 comment

Comments

@sajjanhubale
Copy link

sajjanhubale commented Aug 23, 2020

Hi,

We are using webpack to create production build , but it does not work with swagger-tools as it look for the exact path for swagger.yaml and controllers. We managed to keep swagger and minified controller files in dist folder but still no luck. I think swagger-tools looking for the exported method with same name given as operationId in swagger file, but now as we minified the controller files so it won't find exact piece of code. Please let us know how can we manage this?

Regards,
Sajjan Hubale

@XeniaSiskaki
Copy link

Any news on this?

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

No branches or pull requests

2 participants