<commit_before>const Reporter = require('./src/Reporter');
const PostReporter = require('./src/PostReport');
const Verification = require('./src/Verification');
const Joi = require('joi');

module.exports = [
  {
    method: 'GET',
    path: '/report/',
    handler: Reporter,
    config: {
      validate: {
        query: {
          hipchat: Joi.string().required(),
          site: Joi.string().uri().required(),
        }
      }
    }
  }, 
  {
    method: 'POST',
    path: '/report/',
    handler: PostReporter,
    config: {
      validate: {
        payload: Joi.object().keys({
          item: Joi.object().required(),
        }),
      }
    }
  },
  {
    method: 'GET',
    path: '/verification/{hipchat}/',
    handler: Verification,
    config: {
      validate: {
        query: {
          id: Joi.required(),
        }
      }
    }
  }
]<commit_msg>Remove Joi validation<commit_after>const Reporter = require('./src/Reporter');
const PostReporter = require('./src/PostReport');
const Verification = require('./src/Verification');
const Joi = require('joi');

module.exports = [
  {
    method: 'GET',
    path: '/report/',
    handler: Reporter,
    config: {
      validate: {
        query: {
          hipchat: Joi.string().required(),
          site: Joi.string().uri().required(),
        }
      }
    }
  }, 
  {
    method: 'POST',
    path: '/report/',
    handler: PostReporter,
  },
  {
    method: 'GET',
    path: '/verification/{hipchat}/',
    handler: Verification,
    config: {
      validate: {
        query: {
          id: Joi.required(),
        }
      }
    }
  }
]
{'fraction_non_alphanumeric': 0.17515527950310558, 'fraction_numerical': 0.0, 'mean_word_length': 1.9397810218978102, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '698125', 'n_tokens_mistral': 514, 'n_tokens_neox': 507, 'n_words': 94}