Postman allows savings requests and responses with JSON that has comments (although the strict JSON implementation does not allow it).
But the library fails to convert this to OpenAPI because of a parse failure.
% p2o with-comments.postman_collection.json -f api.yaml
Error: Error parsing response example "200 OK Response" parse error is: Unexpected token / in JSON at position 85
Postman allows savings requests and responses with JSON that has comments (although the strict JSON implementation does not allow it).
But the library fails to convert this to OpenAPI because of a parse failure.
This is a package that can be used to parse JSON with comments: https://github.com/microsoft/node-jsonc-parser
Example collection: