Closed 2adnan closed 4 years ago
This is the error with v2.1 collection:
Traceback (most recent call last):
File "postman_doc_gen\postman_doc_gen.py", line 27, in
@2adnan Can you provide a sample collection that this can be reproduced with?
please see attached. collection.zip
@2adnan I've fixed the issue with a new release - https://github.com/karthiks3000/postman-doc-gen/releases/tag/v1.0.2
Tested and confirmed with the v2.1 collection
Traceback (most recent call last): File "postman_doc_gen\postman_doc_gen.py", line 27, in
File "postman_doc_gen\document_generator.py", line 35, in generate_doc
File "postman_doc_gen\document_generator.py", line 104, in validate_collection
File "site-packages\fastjsonschema__init.py", line 105, in validate
File "", line 10, in validatehttps schema_getpostman_com_json_collection_v2_1_0
fastjsonschema.exceptions.JsonSchemaException: data must contain ['info', 'item'] properties
[13972] Failed to execute script postman_doc_gen