Fixes issue where 204 NoContent reusable responses were not being handled correctly.
I'm not sure if there is a more robust way to solve this issue since in most cases we can't accurately know whether a response with no params is meant to be represented as an empty JSON object or as a Unit (no content). In the case of a 204 we can make the assumption though that the output is Unit.
Fixes issue where 204 NoContent reusable responses were not being handled correctly.
I'm not sure if there is a more robust way to solve this issue since in most cases we can't accurately know whether a response with no params is meant to be represented as an empty JSON object or as a Unit (no content). In the case of a 204 we can make the assumption though that the output is
Unit
.Closes #240.