diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/PureCloudJavaScriptClientCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/PureCloudJavaScriptClientCodegen.java index a88121f266f3..4eb6aee88aef 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/PureCloudJavaScriptClientCodegen.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/PureCloudJavaScriptClientCodegen.java @@ -280,6 +280,7 @@ public void preprocessOpenAPI(OpenAPI openAPI) { // make api and model doc path available in mustache template additionalProperties.put("apiDocPath", apiDocPath); supportingFiles.add(new SupportingFile("package.mustache", "", "package.json")); + supportingFiles.add(new SupportingFile("package-lock.mustache", "", "package-lock.json")); supportingFiles.add(new SupportingFile("index.mustache", createPath(sourceFolder, invokerPackage), "index.js")); supportingFiles.add(new SupportingFile("ApiClient.mustache", createPath(sourceFolder, invokerPackage), "ApiClient.js")); supportingFiles.add(new SupportingFile("configuration.mustache", createPath(sourceFolder, invokerPackage), "configuration.js"));