selectline-software / selectline-api

Apache License 2.0
26 stars 5 forks source link

PUT /Documents/{documentKey} Response State-Code is undocumented #335

Closed heba-datensysteme closed 9 months ago

heba-datensysteme commented 1 year ago

Details

Steps to replicate the behavior:

The Response State-Code from this route is not documented in Swagger !

in Swagger documentation, the successful response code for function (PUT: /Documents/{documentKey}) is 204 without Content. But practically, the successful response code for this function is 200 with Content. That cause a problem because of undocumented Response State-Code

Api Undocumented response

MatthiasGuse commented 1 year ago

Hello,

we've added the behavior to fix it.

Best Regards

SophiaWeise commented 1 year ago

Hello,

the problem will be fixed in the upcoming version 23.2.0.

Regards, Sophia Weise