line |
true |
false |
branch |
87
|
1 |
52 |
if ((my $type = get_type($schema)) ne "object")
|
93
|
1 |
51 |
unless assert_keyword_exists({%$state, "keyword", "openapi"}, $schema) and assert_keyword_type({%$state, "keyword", "openapi"}, $schema, "string")
|
96
|
1 |
50 |
unless ($schema->{'openapi'} =~ /^3\.1\.[0-9]+(-.+)?$/u)
|
105
|
1 |
49 |
if exists $schema->{'jsonSchemaDialect'} and not assert_keyword_type({%$state, "keyword", "jsonSchemaDialect"}, $schema, "string")
|
119
|
1 |
48 |
if (@{$check_metaschema_state->{'errors'}})
|
137
|
66 |
0 |
if $schema->{'$dynamicRef'} eq "#meta"
|
141
|
21 |
1645 |
if $schema->{'$ref'} eq "#/\$defs/operation" and defined $data->{'operationId'}
|
147
|
4 |
44 |
unless ($result)
|
155
|
8 |
58 |
if &any(sub {
|
163
|
6 |
15 |
if (my $existing = $self->get_operationId($operation_id)) { }
|
186
|
4 |
1 |
if $x >= -$bound
|
192
|
4 |
1 |
if $x >= -$bound
|
203
|
106 |
106 |
if $uri =~ /schema(-base)?$/u
|
209
|
13 |
45 |
unless XXX and keys %$schema
|
219
|
0 |
45 |
if @{$subschema_state->{'errors'}}
|