-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows: urlopen error with--stand-alone parameter #32
Comments
poutysquire10
added a commit
to poutysquire10/openapi2jsonschema
that referenced
this issue
Feb 4, 2020
For windows local path the base_uri parameter of JsonRef.replace_refs(...) requires three slashes i.e. file:///d:\mydir\subdir...
poutysquire10
added a commit
to poutysquire10/openapi2jsonschema
that referenced
this issue
Feb 4, 2020
For windows local path the base_uri parameter of JsonRef.replace_refs(...) requires three slashes i.e. file:///d:\mydir\subdir...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Windows with --stand-alone parameter I receive the following error:
_An error occured processing sampleresponsetype: URLError: <urlopen error [WinError 3] The system can not find the path specified: '\json_schema\definitions.json'>
This is the log of the execution
>>>openapi2jsonschema --stand-alone file:swagger-on-windows.json.txt
Downloading schema
Parsing schema
Generating shared definitions
Generating individual schemas
Processing requestentity
Generating requestentity.json
An error occured processing requestentity: URLError: <urlopen error [WinError 3] The system cannot find the path specified: '\schemas\_definitions.json'>
Processing responseentity
Generating responseentity.json
Processing info
Generating info.json
Generating schema for all types
This is related to issue #21
swagger-on-windows.json.txt
The text was updated successfully, but these errors were encountered: