kapua icon indicating copy to clipboard operation
kapua copied to clipboard

Step properties field having different names

Open mmgspr opened this issue 2 years ago • 0 comments

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: Captura de pantalla de 2022-07-08 09-56-57 PUT request's body: Captura de pantalla de 2022-07-08 09-58-37 GET response's body: Captura de pantalla de 2022-07-08 09-57-40

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

mmgspr avatar Jul 08 '22 08:07 mmgspr