We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
On Windows when using swagger_from_file argument and YAML file contains Cyrillic letters I get an error:
swagger_from_file
Traceback (most recent call last): File "app.py", line 162, in <module> setup_swagger(app, swagger_from_file='swagger.yaml') File "D:\playground\python\env3\lib\site-packages\aiohttp_swagger\__init__.py" , line 58, in setup_swagger swagger_info = load_doc_from_yaml_file(swagger_from_file) File "D:\playground\python\env3\lib\site-packages\aiohttp_swagger\helpers\buil ders.py", line 123, in load_doc_from_yaml_file loaded_yaml = yaml.load(open(doc_path, "r").read()) File "D:\playground\python\env3\lib\encodings\cp1251.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x98 in position 871: char acter maps to <undefined>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
On Windows when using
swagger_from_file
argument and YAML file contains Cyrillic letters I get an error:The text was updated successfully, but these errors were encountered: