| line |
true |
false |
branch |
|
17
|
59 |
1 |
$config->{'openapi'} ? : |
|
24
|
52 |
8 |
unless ($app->{'openapi.render_specification'}++) |
|
29
|
59 |
1 |
unless $self->{'standalone'} |
|
34
|
0 |
108 |
unless $obj |
|
36
|
29 |
79 |
unless ($c->{'_helper_iterator'}{$obj}) |
|
44
|
29 |
79 |
unless $item |
|
45
|
79 |
29 |
$item ? : |
|
52
|
59 |
0 |
if ($config->{'render_specification'} // 1) |
|
60
|
4 |
55 |
if $name |
|
63
|
59 |
0 |
if ($config->{'render_specification_for_paths'} // 1) |
|
74
|
12 |
112 |
if $dups{$route_path}++ |
|
80
|
112 |
0 |
if $route->name |
|
94
|
9 |
5 |
$method ? : |
|
|
1 |
13 |
unless my $schema = $validator->get(["paths", $path, $method ? $method : ()]) |
|
102
|
8 |
5 |
$method ? : |
|
110
|
14 |
32 |
if $path |
|
112
|
3 |
29 |
$custom || $self->{'standalone'} ? : |
|
116
|
29 |
3 |
if (not $validator and $openapi) |
|
121
|
1 |
31 |
unless $validator |
|
131
|
26 |
5 |
unless $format eq "html" |