feat: add download savepoint route
This commit is contained in:
@@ -52,4 +52,14 @@ func initRouter(api huma.API) {
|
||||
Description: "Pause Flink Job",
|
||||
Tags: []string{"Job"},
|
||||
}, controller.PauseJob)
|
||||
|
||||
huma.Register(api, huma.Operation{
|
||||
OperationID: "download-savepoint",
|
||||
Method: http.MethodGet,
|
||||
Path: "/savepoint/download",
|
||||
Summary: "Download Savepoint",
|
||||
Description: "Download Savepoint",
|
||||
Tags: []string{"Savepoint"},
|
||||
}, controller.DownloadSavepoint)
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user