diff --git a/servant-aeson-specs.cabal b/servant-aeson-specs.cabal
--- a/servant-aeson-specs.cabal
+++ b/servant-aeson-specs.cabal
@@ -1,9 +1,9 @@
--- This file has been generated from package.yaml by hpack version 0.14.1.
+-- This file has been generated from package.yaml by hpack version 0.17.1.
 --
 -- see: https://github.com/sol/hpack
 
 name:           servant-aeson-specs
-version:        0.5.2.0
+version:        0.5.3.0
 synopsis:       generic tests for aeson serialization in servant
 description:    tests for aeson serialization in servant
 category:       Web
@@ -32,13 +32,13 @@
     , bytestring
     , hspec
     , QuickCheck
-    , servant >= 0.4 && < 0.10
+    , servant >= 0.4 && < 0.11
     , directory
     , filepath
     , random
     , aeson-pretty
     , quickcheck-arbitrary-adt == 0.2.*
-    , hspec-golden-aeson == 0.2.*
+    , hspec-golden-aeson == 0.3.*
   exposed-modules:
       Servant.Aeson.GenericSpecs
       Servant.Aeson.Internal
@@ -49,7 +49,7 @@
   main-is: Spec.hs
   hs-source-dirs:
       test
-    , src
+      src
   ghc-options: -Wall -fno-warn-name-shadowing
   build-depends:
       base < 5
@@ -57,13 +57,13 @@
     , bytestring
     , hspec
     , QuickCheck
-    , servant >= 0.4 && < 0.10
+    , servant >= 0.4 && < 0.11
     , directory
     , filepath
     , random
     , aeson-pretty
     , quickcheck-arbitrary-adt == 0.2.*
-    , hspec-golden-aeson == 0.2.*
+    , hspec-golden-aeson == 0.3.*
     , hspec-core
     , temporary
     , doctest
@@ -73,7 +73,7 @@
     , string-conversions
     , text
     , quickcheck-arbitrary-adt == 0.2.*
-    , hspec-golden-aeson == 0.2.*
+    , hspec-golden-aeson == 0.3.*
   other-modules:
       DoctestSpec
       Servant.Aeson.GoldenSpecsSpec
diff --git a/src/Servant/Aeson/Internal.hs b/src/Servant/Aeson/Internal.hs
--- a/src/Servant/Aeson/Internal.hs
+++ b/src/Servant/Aeson/Internal.hs
@@ -153,8 +153,16 @@
 instance HasGenericSpecs api  => HasGenericSpecs (Capture (sym :: Symbol) x :> api) where
   collectRoundtripSpecs settings Proxy = collectRoundtripSpecs settings (Proxy :: Proxy api)
 
+-- | Match 'QueryFlag' and ':>'.
+instance HasGenericSpecs api  => HasGenericSpecs (QueryFlag (sym :: Symbol) :> api) where
+  collectRoundtripSpecs settings Proxy = collectRoundtripSpecs settings (Proxy :: Proxy api)
+
 -- | Match 'QueryParam' and ':>'.
 instance HasGenericSpecs api  => HasGenericSpecs (QueryParam (sym :: Symbol) x :> api) where
+  collectRoundtripSpecs settings Proxy = collectRoundtripSpecs settings (Proxy :: Proxy api)
+
+-- | Match 'QueryParams' and ':>'.
+instance HasGenericSpecs api  => HasGenericSpecs (QueryParams (sym :: Symbol) x :> api) where
   collectRoundtripSpecs settings Proxy = collectRoundtripSpecs settings (Proxy :: Proxy api)
 
 -- | Match 'Header' and ':>'.
