postmanerator
postmanerator copied to clipboard
Failed to parse collection file: json: cannot unmarshal string
After export collection v2 i executed this command :
./postmanerator -output=./doc.html -collection=/path/to/project/collectionv2.json
and then had this error :
Failed to parse collection file: json: cannot unmarshal string into Go struct field .url of type struct { Raw string "json:\"raw\""; Variable []postman.collectionV210KeyValuePair "json:\"variable\"" }
Can you help please ?
Same here
The error says: Variable []postman.collectionV210KeyValuePair
See that V210? You should export your postman collections as 2.1 version