toResponseEntity
Converts the provided Tapik response into a Spring ResponseEntity.
Generated Spring MVC code overrides this and supplies the response status, headers, media type, and encoded body based on the concrete generated response variant.
Return
Spring ResponseEntity representing body.
Parameters
body
Tapik response returned by the controller.