The files generated by the tool are all lowercase file names because of this .lower() (and the subsequent ones?):
|
kind = title.split(".")[-1].lower() |
But the $refs are the case of the input, in my case mixed case:
|
{"$ref": (title.replace("#/components/schemas/", "") + ".json")} |
The result is a schema that doesn't load properly.
This tool pretty much did exactly what I needed, thanks!
As a workaround, I lowercased the $ref lines in all the json files.