Use curl to download Swagger UI by default and allow using reqwest optionally with reqwest feature flag. Reqwest will be automatically enabled on Windows targets.
Change the re-build parameters as follows.
For file protocol the re-build should happen when the upstream file changes
For http protocol the re-build should happen when the environment variable holding the downloadd URL will change.
Use
curl
to download Swagger UI by default and allow usingreqwest
optionally withreqwest
feature flag. Reqwest will be automatically enabled on Windows targets.Change the re-build parameters as follows.