requiredBody

Extension for RestClient.ResponseSpec.body providing a requiredBody<Foo>() variant with a non-nullable return value.

Since

6.2

Throws

if there is no response body