/** DELETE /customers/:id -> delete the "id" customer. */ @RequestMapping( value = "/customers/{id}", method = RequestMethod.DELETE, produces = MediaType.APPLICATION_JSON_VALUE) @Timed public void delete(@PathVariable Long id) { log.debug("REST request to delete Customer : {}", id); customerRepository.delete(id); }