Skip to content

Commit

Permalink
fix - File extension is not added in api-config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
rathnapandi authored and rathnapandi committed Nov 26, 2024
1 parent f22b712 commit 18aceb7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public void writeSpec(APISpecification apiDef, ExportAPI exportAPI, File localFo
targetFile = localFolder.getCanonicalPath() + "/" + fileName + fileExtension;
writeBytesToFile(apiDef.getApiSpecificationContent(), targetFile);
}
exportAPI.getAPIDefinition().setApiSpecificationFile(fileName);
exportAPI.getAPIDefinition().setApiSpecificationFile(fileName + fileExtension);
}
} catch (IOException e) {
throw new AppException("Can't save API-Definition locally to file: " + targetFile, ErrorCode.UNXPECTED_ERROR, e);
Expand Down

0 comments on commit 18aceb7

Please sign in to comment.