When editing Schema files with Emacs, it's not uncommon to have an autosave file that exists in parallel to the schema file being edited. If you have schema.yaml, you can have both schema.yaml and #schema.yaml# in the working directory.
In this scenario, guardrailDiscoveredOpenApiFiles will pick up both files, causing both to be processed as schemas - including generated output code. This can result in spurious warnings that the generated output file "contained different content than was expected". It also implies that whichever of the two files that was processed second will overwrite the first - meaning that schema changes might not be represented in the generated code.