postdown / Postdown

Generate markdown API document from Postman.
GNU General Public License v3.0
76 stars 26 forks source link

KeyError 'request' #10

Open tnightengale opened 3 years ago

tnightengale commented 3 years ago

Running on Postman v0.2 Collection (including folders) results in a strange KeyError:

Traceback (most recent call last):
  File "/usr/local/bin/postdown", line 8, in <module>
    sys.exit(execute())
  File "/usr/local/lib/python3.9/site-packages/postdown/cmdline.py", line 14, in execute
    parse(in_file, out_file)
  File "/usr/local/lib/python3.9/site-packages/postdown/parser.py", line 28, in parse
    request = api['request']
KeyError: 'request'
xiaorui16888 commented 2 years ago

我也遇到了这个问题 image

edneyrafael commented 2 years ago

I get the same issue.

Mehrdad-Dadkhah commented 2 years ago

+1

therealsteveg commented 1 year ago

samesies

santosh-od commented 1 year ago

any solution yet?

bagabool commented 1 year ago

made a package that should work on every v2.1 collection