Total Complexity | 0 |
Complexity/F | 0 |
Lines of Code | 11 |
Function Count | 0 |
Duplicated Lines | 0 |
Ratio | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | "use strict"; |
||
2 | |||
3 | const Joi = require('joi'); |
||
4 | |||
5 | module.exports = Joi.object() |
||
6 | .keys({ |
||
7 | body: Joi.alternatives().try(Joi.object(), Joi.string()), |
||
8 | statusCode: Joi.number().integer(), |
||
9 | headers: Joi.object() |
||
10 | }) |
||
11 | ; |
||
12 |