David Morávek created FLINK-31383:
-------------------------------------
Summary: Add support for documenting additionProperties of the
REST API payloads.
Key: FLINK-31383
URL: https://issues.apache.org/jira/browse/FLINK-31383
Project: Flink
Issue Type: Sub-task
Components: Documentation, Runtime / REST
Reporter: David Morávek
Assignee: David Morávek
For implementing the request and response body of the resource requirements
endpoint, we need to be able to document "additionalProperties" because these
payloads have only top-level dynamic properties of the same type.
An example of what we want to be able to document is:
{code:java}
@JsonAnySetter
@JsonAnyGetter
@JsonSerialize(keyUsing = JobVertexIDKeySerializer.class)
@JsonDeserialize(keyUsing = JobVertexIDKeyDeserializer.class)
private final Map<JobVertexID, JobVertexResourceRequirements>
jobVertexResourceRequirements;{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)