text: const express = require('express');
  const UserController = require('./UserController');
  const UserSchema = require('./UserSchema');
  
  const router = express.Router({ mergeParams: true });
  
  /* GET /user */
  router.get('/', UserSchema.list, UserController.list);
  
  /* GET /user/:userId */
  router.get('/:userId', UserSchema.get, UserController.get);
  
  /* POST /user */
  router.post('/', UserSchema.post, UserController.post);
  
  /* PUT /user/:userId */
  router.put('/:userId', UserSchema.put, UserController.put);
  
  /* DELETE /user/:userId */
  router.delete('/:userId', UserSchema.delete, UserController.delete);
  
  module.exports = router;
  