Skip to content

Tag: dto

Change httpresponse with DTO

I run in container fake smtp and it has own api, but it’s not readable and i dont need like 80% of response, so how i can use DTO to make response more readable and less verbose? it responses huge json, i need to implement my DTO to make it more readable and remove unnecessary parts of json Answer I

Jhipster4: what are the benefits of using DTO

Jhipster4 adds Data Transfer Objects (DTO) just what is the benefit of using DTO objects? Answer Main benefit is to control more precisely which properties you expose from your entities and also to expose entity aggregates rather than single entities.