swagger-codegen
swagger-codegen copied to clipboard
[JavaScript] invokerPackage Config Parameter Not Functioning Properly
Description
Using invokerPackage in a config file should result in setting the root path for the SDK. However, ApiClient.js and index.js are not moved into the root directory and remain in /src. As a result the entry point to the SDK ("main" in package.json) is set to /src/invokerPackage/index.js but index.js remains at /src.
Swagger-codegen version
Snapshot of 2.4.0
Steps to reproduce
- Create a JavaScript config file which has the invokerPackage parameter set
- Generate a JavaScript SDK with above config file