@@ -761,11 +761,10 @@ instance ( HasClient m api
761-- > myApi :: Proxy MyApi
761-- > myApi :: Proxy MyApi
762-- > myApi = Proxy
762-- > myApi = Proxy
764−-- > getBooksBy :: Maybe Text -> ClientM [Book]
764+-- > getBooks :: ClientM [Book]
765−-- > getBooksBy = client myApi
765+-- > getBooks = client myApi
766-- > -- then you can just use "getBooksBy" to query that endpoint.
766-- > -- then you can just use "getBooksBy" to query that endpoint.
767−-- > -- 'getBooksBy Nothing' for all books
767+-- > -- 'getBooks' for all books.
768−-- > -- 'getBooksBy (Just "Isaac Asimov")' to get all books by Isaac Asimov
769#ifdef HAS_TYPE_ERROR
768#ifdef HAS_TYPE_ERROR
770instance (AtLeastOneFragment api, FragmentUnique (Fragment a :> api), HasClient m api
769instance (AtLeastOneFragment api, FragmentUnique (Fragment a :> api), HasClient m api