You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 27, 2024. It is now read-only.
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:
The text was updated successfully, but these errors were encountered: