dmvk commented on pull request #17498: URL: https://github.com/apache/flink/pull/17498#issuecomment-945757509
FYI, I've tried to generate go http client from the OpenAPI spec using https://github.com/deepmap/oapi-codegen Few weird things I've found with the default settings. I'll try to play with the generator settings later. ``` func (c *Client) GetJobsJobidMetrics(ctx context.Context, jobid JobID, params *GetJobsJobidMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error) { req, err := NewGetJobsJobidMetricsRequest(c.Server, jobid, params ``` ``` // Defines values for CheckpointStatisticsCheckpointType. const ( CheckpointStatisticsCheckpointTypeCHECKPOINT CheckpointStatisticsCheckpointType = "CHECKPOINT" CheckpointStatisticsCheckpointTypeSAVEPOINT CheckpointStatisticsCheckpointType = "SAVEPOINT" CheckpointStatisticsCheckpointTypeSYNCSAVEPOINT CheckpointStatisticsCheckpointType = "SYNC_SAVEPOINT" ) // Defines values for CheckpointStatisticsStatus. const ( CheckpointStatisticsStatusCOMPLETED CheckpointStatisticsStatus = "COMPLETED" CheckpointStatisticsStatusFAILED CheckpointStatisticsStatus = "FAILED" CheckpointStatisticsStatusINPROGRESS CheckpointStatisticsStatus = "IN_PROGRESS" ) ``` -- 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]
