@@ -660,7 +660,11 @@ instance HasDocs Delete where
660 action' = action & response.respBody .~ []
660 action' = action & response.respBody .~ []
661 & response.respStatus .~ 204
661 & response.respStatus .~ 204
664+#if MIN_VERSION_base(4,8,0)
665+ {-# OVERLAPPABLe #-}
663−instance (ToSample a b, IsNonEmpty cts, AllMimeRender cts b, SupportedTypes cts)
667+ (ToSample a b, IsNonEmpty cts, AllMimeRender cts b, SupportedTypes cts)
664 => HasDocs (Get cts a) where
668 => HasDocs (Get cts a) where
665 docsFor Proxy (endpoint, action) =
669 docsFor Proxy (endpoint, action) =
666 single endpoint' action'
670 single endpoint' action'
@@ -671,7 +675,11 @@ instance (ToSample a b, IsNonEmpty cts, AllMimeRender cts b, SupportedTypes cts)
671 t = Proxy :: Proxy cts
675 t = Proxy :: Proxy cts
672 p = Proxy :: Proxy a
676 p = Proxy :: Proxy a
679+#if MIN_VERSION_base(4,8,0)
674−instance (ToSample a b, IsNonEmpty cts, AllMimeRender cts b, SupportedTypes cts
682+ (ToSample a b, IsNonEmpty cts, AllMimeRender cts b, SupportedTypes cts
675 , AllHeaderSamples ls , GetHeaders (HList ls) )
683 , AllHeaderSamples ls , GetHeaders (HList ls) )
676 => HasDocs (Get cts (Headers ls a)) where
684 => HasDocs (Get cts (Headers ls a)) where
677 docsFor Proxy (endpoint, action) =
685 docsFor Proxy (endpoint, action) =
@@ -694,7 +702,11 @@ instance (KnownSymbol sym, HasDocs sublayout)
694 action' = over headers (|> headername) action
702 action' = over headers (|> headername) action
695 headername = pack $ symbolVal (Proxy :: Proxy sym)
703 headername = pack $ symbolVal (Proxy :: Proxy sym)
706+#if MIN_VERSION_base(4,8,0)
707+ {-# OVERLAPPABLE #-}
697−instance (ToSample a b, IsNonEmpty cts, AllMimeRender cts b, SupportedTypes cts)
709+ (ToSample a b, IsNonEmpty cts, AllMimeRender cts b, SupportedTypes cts)
698 => HasDocs (Post cts a) where
710 => HasDocs (Post cts a) where
699 docsFor Proxy (endpoint, action) =
711 docsFor Proxy (endpoint, action) =
700 single endpoint' action'
712 single endpoint' action'
@@ -706,7 +718,11 @@ instance (ToSample a b, IsNonEmpty cts, AllMimeRender cts b, SupportedTypes cts)
706 t = Proxy :: Proxy cts
718 t = Proxy :: Proxy cts
707 p = Proxy :: Proxy a
719 p = Proxy :: Proxy a
722+#if MIN_VERSION_base(4,8,0)
709−instance (ToSample a b, IsNonEmpty cts, AllMimeRender cts b, SupportedTypes cts
725+ (ToSample a b, IsNonEmpty cts, AllMimeRender cts b, SupportedTypes cts
710 , AllHeaderSamples ls , GetHeaders (HList ls) )
726 , AllHeaderSamples ls , GetHeaders (HList ls) )
711 => HasDocs (Post cts (Headers ls a)) where
727 => HasDocs (Post cts (Headers ls a)) where
712 docsFor Proxy (endpoint, action) =
728 docsFor Proxy (endpoint, action) =
@@ -721,7 +737,11 @@ instance (ToSample a b, IsNonEmpty cts, AllMimeRender cts b, SupportedTypes cts
721 t = Proxy :: Proxy cts
737 t = Proxy :: Proxy cts
722 p = Proxy :: Proxy a
738 p = Proxy :: Proxy a
741+#if MIN_VERSION_base(4,8,0)
742+ {-# OVERLAPPABLE #-}
724−instance (ToSample a b, IsNonEmpty cts, AllMimeRender cts b, SupportedTypes cts)
744+ (ToSample a b, IsNonEmpty cts, AllMimeRender cts b, SupportedTypes cts)
725 => HasDocs (Put cts a) where
745 => HasDocs (Put cts a) where
726 docsFor Proxy (endpoint, action) =
746 docsFor Proxy (endpoint, action) =
727 single endpoint' action'
747 single endpoint' action'
@@ -733,7 +753,11 @@ instance (ToSample a b, IsNonEmpty cts, AllMimeRender cts b, SupportedTypes cts)
733 t = Proxy :: Proxy cts
753 t = Proxy :: Proxy cts
734 p = Proxy :: Proxy a
754 p = Proxy :: Proxy a
757+#if MIN_VERSION_base(4,8,0)
736−instance (ToSample a b, IsNonEmpty cts, AllMimeRender cts b, SupportedTypes cts
760+ (ToSample a b, IsNonEmpty cts, AllMimeRender cts b, SupportedTypes cts
737 , AllHeaderSamples ls , GetHeaders (HList ls) )
761 , AllHeaderSamples ls , GetHeaders (HList ls) )
738 => HasDocs (Put cts (Headers ls a)) where
762 => HasDocs (Put cts (Headers ls a)) where
739 docsFor Proxy (endpoint, action) =
763 docsFor Proxy (endpoint, action) =