swagger-coverage-py
swagger-coverage-py copied to clipboard
Fix reporter.py for Windows
The report generation always used "swagger-coverage-commandline", but Windows does not support POSIX shell. Due to this, when running on Windows, an error appeared: subprocess.py:1538: OSError: 1 is not a valid Win32 application.
Therefore, I added an additional check, now if the system is Windows, then swagger-coverage-commandline.bat is used