Skip to content

Commit 18aceb7

Browse files
rathnapandirathnapandi
authored andcommitted
fix - File extension is not added in api-config.json
1 parent f22b712 commit 18aceb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/apis/src/main/java/com/axway/apim/api/export/impl/ExportHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public void writeSpec(APISpecification apiDef, ExportAPI exportAPI, File localFo
163163
targetFile = localFolder.getCanonicalPath() + "/" + fileName + fileExtension;
164164
writeBytesToFile(apiDef.getApiSpecificationContent(), targetFile);
165165
}
166-
exportAPI.getAPIDefinition().setApiSpecificationFile(fileName);
166+
exportAPI.getAPIDefinition().setApiSpecificationFile(fileName + fileExtension);
167167
}
168168
} catch (IOException e) {
169169
throw new AppException("Can't save API-Definition locally to file: " + targetFile, ErrorCode.UNXPECTED_ERROR, e);

0 commit comments

Comments
 (0)