Github user walterddr commented on a diff in the pull request: https://github.com/apache/flink/pull/5797#discussion_r178913403 --- Diff: flink-docs/src/main/java/org/apache/flink/docs/rest/RestAPIDocGenerator.java --- @@ -258,6 +265,37 @@ private static String createMessageHtmlEntry(Class<?> messageClass, Class<?> emp return json; } + /** + * Create character escapes for HTML when generating JSON request/response string. + */ + private static class HTMLCharacterEscapes extends CharacterEscapes { --- End diff -- good point. added in comments to illustrate the necessity.
---