code: @RequestMapping(value = "/{id}", method = RequestMethod.GET)
      public ResponseEntity<E> findById(@PathVariable Integer id) {
  
          try {
              E entity = this.service.findById(id);
              LOG.trace("Found " + entity.getClass().getSimpleName()
                  + " with ID " + entity.getId());
              return new ResponseEntity<E>(entity, HttpStatus.OK);
          } catch (Exception e) {
              LOG.error("Error finding entity with id " + id + ": "
                  + e.getMessage());
              return new ResponseEntity<E>(HttpStatus.NOT_FOUND);
          }
      }
docs: Get an entity by id.
  
  @param id