text: import Joi from 'joi';
  
  export default {
    // POST /api/users
    createUser: {
      body: {
        email: Joi.string().required(),
        password: Joi.string().required(),
      }
    },
  
    // UPDATE /api/users/:userId
    updateUser: {
      body: {
        email: Joi.string().required(),
        password: Joi.string().required()
      },
      params: {
        userId: Joi.string().hex().required()
      }
    },
  
    // POST /api/auth/login
    login: {
      body: {
        email: Joi.string().required(),
        password: Joi.string().required()
      }
    },
  
    // POST /api/auth/signup
    signup: {
      body: {
        email: Joi.string().required(),
        password: Joi.string().required()
      }
    }
  };
  