Closed devonsparks closed 11 months ago
Can you share a minimal example of something that doesn't work ? It'd really help us figure out how we can help best.
Closing because of lack of reply from original poster.
Feel free to re-open if you find the time to provide a minimal reproduction.
How best to handle JSON Schema $refs when using
json-schema-to-smithy
? We have some existing JSON Schema definitions that use relative path references. Attempingjson-schema-to-smithy
on them results injava.io.UncheckedIOException: java.net.MalformedURLException: no protocol
. If I place the same collection of JSON Schema definitions behind a local web service, and update all $refs to be absolute HTTP URLs, I instead get ajava.net.ConnectException: Connection refused
error, even though the URLs are accessible on the machine. Is there any convention for (or otherwise a way to direct)smithytranslate
to resolve $refs?