Closed sviluppatoreLaRegione closed 1 year ago
@sviluppatoreLaRegione can you provide a sample collection to reproduce the error?
Check here https://gist.github.com/sviluppatoreLaRegione/5a0d14cf2ebec961631bbed89d06f03c This is the same collection that I used.
You are probably using an old Postman version that is exporting the JSON file in Postman v2.0 format. Upgrade to the latest version of Postman and export using v2.1 format.
@rudyzeinoun if you check my JSON you can see that version is 2.1
I'm getting this too
Same here on v2.1 collection
I was getting a similar error using the version 2.0 export, which was resolved when I used version 2.1.
The original error:
[26200] Failed to execute script postman_doc_gen Traceback (most recent call last): File "postman_doc_gen.py", line 29, in <module> File "document_generator.py", line 63, in generate_doc File "document_generator.py", line 204, in add_items File "document_generator.py", line 233, in add_apis AttributeError: 'str' object has no attribute 'get'
I get this error: