kapua
kapua copied to clipboard
Step properties field having different names
Describe the bug The step properties' field is called different depending on what request are you using.
- If you are using a POST request, the properties' field in your request's body has to be called "jobStepProperties".
- If you are using a PUT request, the properties' field in your request's body has to be called "stepProperties".
- If you use a GET request, the properties' field in your response's body is called "stepProperties".
Expected behavior The field having the same name in all the requests and responses.
Screenshots
Screenshots taken from the official API documentation: https://www.eclipse.org/kapua/docs/api/index.html?version=1.5.0#/Job%20-%20Step
POST request's body:
PUT request's body:
GET response's body:
Version of Kapua 1.5.X
Main component affected [ ] Console (in case of console please report info on which browser you encountered the problem) [X] REST API [ ] Message Broker [ ] - Others