We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44790e9 commit 615bf80Copy full SHA for 615bf80
modules/spectoconfig/src/main/java/com/axway/apim/config/GenerateTemplate.java
@@ -121,7 +121,7 @@ public static int generate(String[] args) {
121
objectMapper.setSerializationInclusion(JsonInclude.Include.NON_NULL);
122
objectMapper.setSerializationInclusion(JsonInclude.Include.NON_EMPTY);
123
JsonNode jsonNode = objectMapper.convertValue(apiConfig, JsonNode.class);
124
- objectMapper.writeValue(fileWriter, jsonNode);
+ objectMapper.writerWithDefaultPrettyPrinter().writeValue(fileWriter, jsonNode);
125
LOG.info("Writing APIM CLI configuration file to : {}", params.getConfig());
126
}
127
} catch (AppException e) {
0 commit comments