I am able to use Autorest_core 3 to generate the client when swagger.json is hosted on a website but not when it is hosted on localhost.
However if I cut and paste t
After adding http to --input-file, the issue solved for me:
autorest --v3 --input-file=http://localhost:5000/swagger/v1/swagger.json --csharp
UPDATE
In terms of HTTPs / TLS, autorest will automatically work if the HTTPs / TLS is configured correctly as well as the certificate is from a trusted CA.
If using a self-signed certificate for development, extra steps are required to allow using self-signed certificate in NodeJS:
NODE_TLS_REJECT_UNAUTHORIZED system variable to 0