Skip to content

Commit

Permalink
Format api config file
Browse files Browse the repository at this point in the history
  • Loading branch information
rathnapandi committed Nov 23, 2024
1 parent 44790e9 commit 615bf80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public static int generate(String[] args) {
objectMapper.setSerializationInclusion(JsonInclude.Include.NON_NULL);
objectMapper.setSerializationInclusion(JsonInclude.Include.NON_EMPTY);
JsonNode jsonNode = objectMapper.convertValue(apiConfig, JsonNode.class);
objectMapper.writeValue(fileWriter, jsonNode);
objectMapper.writerWithDefaultPrettyPrinter().writeValue(fileWriter, jsonNode);
LOG.info("Writing APIM CLI configuration file to : {}", params.getConfig());
}
} catch (AppException e) {
Expand Down

0 comments on commit 615bf80

Please sign in to comment.