Lucian of Samosata, a satirist writing in the second century CE, never had much regard for historians. His most famous work, the Alēthē Diēgēmata ("True Histories"), specifically mocks the sort of ridiculous stories that historians liked to recount as true. Here's how he puts it in the introduction:
…τῶν ἱστορουμένων ἕκαστον οὐκ ἀκωμῳδήτως ᾔνικται πρός τινας τῶν παλαιῶν ποιητῶν τε καὶ συγγραφέων καὶ φιλοσόφων πολλὰ τεράστια καὶ μυθώδη συγγεγραφότων, οὓς καὶ ὀνομαστὶ ἂν ἔγραφον, εἰ μὴ καὶ αὐτῷ σοι ἐκ τῆς ἀναγνώσεως φανεῖσθαι ἔμελλον…
…each of the stories I tell hints, not without humor, at one of those ancient poets, historians, and philosophers, who have written down quite a lot of myths and legends as "history". I would mention them by name, if not for the fact that they're likely to be made clear by your reading…
There's a short lacuna in the text after this point, but Lucian does indeed go on to single out a few historians for particular ridicule, and then:
ἀρχηγὸς δὲ αὐτοῖς καὶ διδάσκαλος τῆς τοιαύτης βωμολοχίας ὁ τοῦ Ὁμήρου Ὀδυσσεύς, τοῖς περὶ τὸν Ἀλκίνουν διηγούμενος ἀνέμων τε δουλείαν καὶ μονοφθάλμους καὶ ὠμοφάγους καὶ ἀγρίους τινὰς ἀνθρώπους, ἔτι δὲ πολυκέφαλα ζῷα καὶ τὰς ὑπὸ φαρμάκων τῶν ἑταίρων μεταβολάς, οἷα πολλὰ ἐκεῖνος πρὸς ἰδιώτας ἀνθρώπους τοὺς Φαίακας ἐτερατεύσατο.
The founder and teacher of this whole school of charlatanism is Homer's Odysseus, who told Alcinous's court about winds being enslaved, one-eyed men, cannibals, savage men, animals with too many heads, and sailors transformed [into pigs] with magic drugs—this nonsense, and plenty more, was how he tricked the gullible Phaeacians.
Interestingly, he doesn't blame Homer for passing myths off as truth, but blames Odysseus; the frame narrative of the Trojan War and all that might well have happened, but the stories Odysseus tells within that frame were clearly nonsense he made up to get sympathy from the king of Phaeacia.
τούτοις οὖν ἐντυχὼν ἅπασιν, τοῦ ψεύσασθαι μὲν οὐ σφόδρα τοὺς ἄνδρας ἐμεμψάμην, ὁρῶν ἤδη σύνηθες ὂν τοῦτο καὶ τοῖς φιλοσοφεῖν ὑπισχνουμένοις.
Well, reading through all of these, I couldn't really blame the authors too much for their lies, seeing as this was the standard, even for the ones who claim to be philosophers.
According to one scholiast, this is a not-particularly-subtle jab at Plato's dialogues.
ἐκεῖνο δὲ αὐτῶν ἐθαύμασα, εἰ ἐνόμιζον λήσειν οὐκ ἀληθῆ συγγράφοντες. διόπερ καὶ αὐτὸς ὑπὸ κενοδοξίας ἀπολιπεῖν τι σπουδάσας τοῖς μεθ᾿ ἡμᾶς, ἵνα μὴ μόνος ἄμοιρος ὦ τῆς ἐν τῷ μυθολογεῖν ἐλευθερίας, ἐπεὶ μηδὲν ἀληθὲς ἱστορεῖν εἶχον—οὐδὲν γὰρ ἐπεπόνθειν ἀξιόλογον—
But, I was somewhat amazed that they thought they could write these falsehoods and not have anyone call them on it. Driven by my vanity, I was eager to pass something down to future generations, so that I wouldn't be the only one left out of the mythological record. Except—I had nothing true to write down, since I'd never done anything worth writing about.
This is probably a jab at another writer, but I'm not sure which one.
ἐπὶ τὸ ψεῦδος ἐτραπόμην πολὺ τῶν ἄλλων εὐγνωμονέστερον· κἂν ἓν γὰρ δὴ τοῦτο ἀληθεύσω λέγων ὅτι ψεύδομαι.
So, I turned to lying, but in a much more honest way than the others—because, see, I will tell you this one thing truly, that I'm making it all up.
He then goes on to write what some people consider the world's first science fiction novel, in which he launches a ship to the moon, gets involved in a space war, meets gay plant-based aliens, accidentally arrives in Elysium, discusses literary criticism with Homer's ghost, finds an island made of cheese, and eventually discovers an entire ecosystem built inside a giant sea-monster's stomach.
There are some parts that are definitely mocking Herodotus specifically, and I'm sure some lesser-known authors too (though I probably missed most of those references). But overall, it seems clear that Lucian had very little respect for most of the ancient writers of history.
(All Greek text is from the LCL; all translations are mine.)