zentol opened a new pull request #11658: [FLINK-16696][rest] Properly document 
async responses 
URL: https://github.com/apache/flink/pull/11658
 
 
   Fixes an issue where the REST API status response for asynchronous 
operations wasn't documented properly.
   
   The async operation result has a generic parameter, which obviously doesn't 
work with the REST API generation since it relies on classes. As a result the 
generator always considered the inner (generic) result as an `Object`, 
basically not documenting anything.
   
   This PR provides a stop-gap solution by hard-coding additional logic for 
`AsynchronousOperationStatusMessageHeaders`.
   I exposed the inner class by making 
`AsynchronousOperationStatusMessageHeaders#getValueClass` public, generate a 
separate schema for it, and overwrite the corresponding property entry of the 
outer schema.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to