The response code for patch method on SwaggerUI is 204 with no content. This is not complete as this might have some error but will not be displayed. So it might be case that the update will be there through Swagger with error and no response, since 204 is considered as a successful response with no content.
This could be an issue when you try to integrate this with an external application which is actually looking for some response content to verify if the change went through or not.
Had similar issues for one of our clients, I would suggest to enhance the response code to be more informative and useful.
by: Jasleen Kaur O. | over a year ago | General Enhancements
Comments
This idea was posted in May 2020