Closed beli68 closed 3 years ago
Hi, it seems like an error while parsing, I'll check it and return with details
@beli68 I've just fixed some problems with parser by extending enumeration of ContentTypes to support application/octet-stream and making required
property of request parameter optional, now it should work fine.
Anyway, you should replace default
responses with some HTTP codes like 200, 404, etc because it's unconvertible to Python dictionary correctly.
To test it you should use version v1.1.1
@manchenkoff
Thank you for the swift response.
I think it would be better to support default
in the future because it is a description allowed by the OAS.
@beli68 yeah, I'll fix it in another issue
Get the file from the swagger-petstore and save it as petstore.yml.
I get an error when I run the code below.
Looking at the debug messages,
builders
are working fine until halfway through, so is it a problem with the yaml file? Thanks in advance.Traceback
``` Traceback (most recent call last): File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/root/.vscode-server/extensions/ms-python.python-2021.6.944021595/pythonFiles/lib/python/debugpy/__main__.py", line 45, in