This PR fixes a bug that it cannot be resumed paused schedule from digdag UI.
Reproduce Steps
Start latest digdag server
Create scheduled workflow
Pause schedule from digdagUI
Digdag API returns error like below at resume schedule
{
"message": "RESTEASY003200: Could not find message body reader for type: interface io.digdag.client.api.RestScheduleEnableRequest of content type: */*",
"status": 400
}
Approach in this PR
Error which returned by API represents lacking Content-Type, so add it.
I considered ok to add application/json, because digdag API is REST API with Json.
This PR fixes a bug that it cannot be resumed paused schedule from digdag UI.
Reproduce Steps
Approach in this PR
Error which returned by API represents lacking Content-Type, so add it. I considered ok to add
application/json
, because digdag API is REST API with Json.Workaround Approach
At I resumed workflow from digdag UI.
enable
endpoint request