Open adhikasp opened 7 years ago
DTO is more flexible and we can use it for input and output without needless duplication For example, no need for UserRequest for post and UserResponse for get, use UserDTO instead.
See also https://stackoverflow.com/questions/36174516/rest-api-dtos-or-not
DTO is more flexible and we can use it for input and output without needless duplication For example, no need for UserRequest for post and UserResponse for get, use UserDTO instead.
See also https://stackoverflow.com/questions/36174516/rest-api-dtos-or-not