given a json schema encoded in the filesystem as such:
schemas/
validate.json
events/
administration.json
ads.json
...
products/
administration.json
ads.json
...
references between files don't resolve correctly.
e.g. in schemas/products/administration.json, there is a reference to ../events/administration.json.
quicktype seems to incorrectly infer schemas/products/events/administration.json rather than schemas/events/administration.json as the file path:
quicktype -s schema schemas/validate.json -o models.swift
-->
Error: Could not fetch schema schemas/products/events/administration.json, referred to from schemas/products/administration.json#/allOf/0: Error: Input file schemas/products/events/administration.json does not exist.
example:
schemas.zip
given a json schema encoded in the filesystem as such:
references between files don't resolve correctly.
e.g. in
schemas/products/administration.json, there is a reference to../events/administration.json.quicktype seems to incorrectly infer
schemas/products/events/administration.jsonrather thanschemas/events/administration.jsonas the file path:quicktype -s schema schemas/validate.json -o models.swift-->
Error: Could not fetch schema schemas/products/events/administration.json, referred to from schemas/products/administration.json#/allOf/0: Error: Input file schemas/products/events/administration.json does not exist.example:
schemas.zip