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 has been archived by the owner on Dec 27, 2024. It is now read-only.
Thanks for the project! I'm trying it out for the first time. I'm not sure if the source file is dodgy, if I'm doing something wrong, if it's a legitimate bug, or a feature request... but I can't get it to work (:
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at parseBody (/app/node_modules/postman-to-openapi/lib/index.js:132:29)
at postmanToOpenApi (/app/node_modules/postman-to-openapi/lib/index.js:44:10)
at async main (/app/convertpostman.js:18:5)
postman-to-openapi: 1.7.1
node: 15.11.0
Details
It looks like it's down to the empty field item[2].item[3].request.body.raw in the source file. If I change:
Hi,
Thanks for the project! I'm trying it out for the first time. I'm not sure if the source file is dodgy, if I'm doing something wrong, if it's a legitimate bug, or a feature request... but I can't get it to work (:
Repro steps
Actual results
Details
It looks like it's down to the empty field
item[2].item[3].request.body.raw
in the source file. If I change:postman-to-openapi/lib/index.js
Line 131 in dcdf5af
to
it produces an output file. I'm not sure if there might be any negative side-effects to that.
Thanks!
The text was updated successfully, but these errors were encountered: