-
Notifications
You must be signed in to change notification settings - Fork 151
Description
I and a colleague have both started encountering this error when trying to generate API's.
Error on API generation from http://localhost:5000/swagger/v1/swagger.json: ResolverError: Error downloading http://localhost:5000/swagger/v1/swagger.json
fetch failed
Browsing to the file specified in the error above works fine.
If I change the location to a file in a directory, that also does not work.
config file:
{"input": "c:/temp/swagger.json", "output": "app/api", "ignoreUnusedModels": false }
Output
Error on API generation from c:/temp/swagger.json: ResolverError: Error opening file "F:\AgVentory\ClientApp\node_modules@apidevtools\json-schema-ref-parser\c:\temp\swagger.json"
ENOENT: no such file or directory, open 'F:\AgVentory\ClientApp\node_modules@apidevtools\json-schema-ref-parser\c:\temp\swagger.json'
Not sure what has changed to cause these errors.