Skip to content

Commit 615bf80

Browse files
author
rathnapandi
committed
Format api config file
1 parent 44790e9 commit 615bf80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/spectoconfig/src/main/java/com/axway/apim/config/GenerateTemplate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public static int generate(String[] args) {
121121
objectMapper.setSerializationInclusion(JsonInclude.Include.NON_NULL);
122122
objectMapper.setSerializationInclusion(JsonInclude.Include.NON_EMPTY);
123123
JsonNode jsonNode = objectMapper.convertValue(apiConfig, JsonNode.class);
124-
objectMapper.writeValue(fileWriter, jsonNode);
124+
objectMapper.writerWithDefaultPrettyPrinter().writeValue(fileWriter, jsonNode);
125125
LOG.info("Writing APIM CLI configuration file to : {}", params.getConfig());
126126
}
127127
} catch (AppException e) {

0 commit comments

Comments
 (0)