diff --git a/xt/api.t b/xt/api.t index 3d33a669bf..1dd206f498 100755 --- a/xt/api.t +++ b/xt/api.t @@ -39,7 +39,8 @@ foreach my $route ( keys %{$paths} ) { && $parameter->{schema}->{type} eq 'object' ) { # it is an object type definition - if ( not exists $parameter->{schema}->{additionalProperties} ) { + if ( $parameter->{name} ne 'query' # our query parameter is under-specified + and not exists $parameter->{schema}->{additionalProperties} ) { push @missing_additionalProperties, { type => 'parameter', route => $route,