-
Notifications
You must be signed in to change notification settings - Fork 301
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
check and convert command line parameter for windows #9
Comments
Could you share the |
I read more in details about the traceback and I don't even think it's about a slash issue. The last line of the traceback gives you a hint : what's at 87th line in your YAML file ? It seems to expect a |
It is 3 years old now. Maybe you close this issue. :) |
To be honest, I did not even look for the date, thought that if someone ran the same issue, they could try to troubleshoot too. I believe as you are the author of this issue, you can close it. I don't have the permissions to do that. |
Hi,
On windows, an error occurs in mitmproxy2swagger.py line 63 because yaml.load(f) does not like the backslash in the f string (the input parameter -o)
mitmproxy2swagger/mitmproxy2swagger/mitmproxy2swagger.py
Line 62 in fd382ed
mitmproxy2swagger -i "D:\Downloads\flows" -o "D:\Downloads\flows_schema.yml" -p https://my.site.com
If you change it to a slash, there is no problem and it works like intended.
mitmproxy2swagger -i "D:/Downloads/flows" -o "D:/Downloads/flows_schema.yml" -p https://my.site.com
Therefore, my suggestion/solution is to replace '' with '/'
Traceback:
The text was updated successfully, but these errors were encountered: