update
@PutMapping(path = ["/{id}" ], consumes = ["application/json" ], produces = ["application/json" ] )
Default implementation for updating an entity with given id with given update DTO data
Return
DTO of the updated entity
Parameters
id
Id of the entity to update
update DTO
Update DTO containing data to be updated