zentol commented on code in PR #22357:
URL: https://github.com/apache/flink/pull/22357#discussion_r1158557164


##########
flink-runtime/src/main/java/org/apache/flink/runtime/rest/messages/job/JobDetailsInfo.java:
##########
@@ -110,8 +113,8 @@ public class JobDetailsInfo implements ResponseBody {
     private final Map<ExecutionState, Integer> jobVerticesPerState;
 
     @JsonProperty(FIELD_NAME_JSON_PLAN)
-    @JsonRawValue
-    private final String jsonPlan;
+    @JsonSerialize(using = RawObjectSerializer.class)
+    private final Object jsonPlan;

Review Comment:
   I couldn't find a better solution for the OpenAPI generator than to have 
this field be of type `Object`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to