lib/Plack/Middleware/APISchema/RequestValidator.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 7 | 71.4 |
line | l | !l | condition |
---|---|---|---|
22 | 0 | 12 | $self->validator // 'Valiemon' |
57 | 5 | 7 | $validation_result->errors->{'body'}{'message'} // '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
49 | 11 | 3 | 0 | $self->{'router'} //= do { my $generator = 'APISchema::Generator::Router::Simple'->new; $generator->generate_router($self->schema) } |