diff --git a/packages/salesforcedx-vscode-apex/src/commands/apexActionController.ts b/packages/salesforcedx-vscode-apex/src/commands/apexActionController.ts index 0779396cb6..9672b0d930 100644 --- a/packages/salesforcedx-vscode-apex/src/commands/apexActionController.ts +++ b/packages/salesforcedx-vscode-apex/src/commands/apexActionController.ts @@ -142,19 +142,19 @@ export class ApexActionController { const updatedContent = existingContent ? existingContent.replace(/([\s\S]*?)<\/schema>/, `${oasSpec.replaceAll('"', ''')}`) : [ - ``, - ``, + '', + '', `\t${path.basename(fullPath).split('.')[0]} External Service`, `\t`, `\t${namedCredential}`, - `\tCustom`, + '\tCustom', `\t${oasSpec.replaceAll('"', ''')}`, - `\tOpenApi3`, - `\tyaml`, + '\tOpenApi3', + '\tyaml', `\t${path.basename(fullPath).split('.')[0].toLowerCase()}_openapi`, - `\tComplete`, - `\t5`, - `` + '\tComplete', + '\t5', + '' ].join('\n'); try { // Step 3: Write File