-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenAPI 3.0 Import by Postman 7.0.7 fails #44
Comments
@mrehder Can you attach a sample OpenAPI spec that throws this error while importing? |
Sorry, I’m unable to share the content (proprietary to my client).
From: Abhijit Kane [mailto:[email protected]]
Sent: Wednesday, April 17, 2019 4:17 AM
To: postmanlabs/openapi-to-postman <[email protected]>
Cc: Michael Rehder <[email protected]>; Mention <[email protected]>
Subject: Re: [postmanlabs/openapi-to-postman] OpenAPI 3.0 Import by Postman 7.0.7 fails (#44)
@mrehder<https://github.com/mrehder> Can you attach a sample OpenAPI spec that throws this error while importing?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#44 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ALnH5z4Exg0LXfeCLzA6epBvlr6mu81vks5vhth-gaJpZM4cYMXL>.
This email and the information contained herein is proprietary and confidential and subject to the Amdocs Email Terms of Service, which you may review at https://www.amdocs.com/about/email-terms-of-service <https://www.amdocs.com/about/email-terms-of-service>
|
@mrehder Can you upgrade to Postman 7.1.0 and check if you're still seeing the issue? If yes, we'll need a sample spec (with sensitive data removed) that you're unable to import to debug the issue further. |
It still fails
[11304][1559157976877][requester][error]["Open API 3~Failed to import Open API 3.0",{"name":"TypeError","message":"Cannot read property 'push' of undefined","stack":"TypeError: Cannot read property 'push' of undefined\n at _.forEach (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.1.1/resources/app.asar/js/vendor-shared.js:267585:18)\n at arrayEach (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.1.1/resources/app.asar/js/vendor-shared.js:139172:11)\n at Function.forEach (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.1.1/resources/app.asar/js/vendor-shared.js:148000:14)\n at Object.convertPathVariables (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.1.1/resources/app.asar/js/vendor-shared.js:267584:9)\n at Object.convertRequestToItem (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.1.1/resources/app.asar/js/vendor-shared.js:268496:48)\n at Object.convertChildToItemGroup (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.1.1/resources/app.asar/js/vendor-shared.js:267699:17)\n at Object.convertChildToItemGroup (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.1.1/resources/app.asar/js/vendor-shared.js:267686:21)\n at Object.convertChildToItemGroup (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.1.1/resources/app.asar/js/vendor-shared.js:267676:20)\n at Object.generateCollection (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.1.1/resources/app.asar/js/vendor-shared.js:421824:18)\n at Object.convert (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.1.1/resources/app.asar/js/vendor-shared.js:421937:12)\n at module.exports (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.1.1/resources/app.asar/js/vendor-shared.js:421952:15)\n at Object.convert (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.1.1/resources/app.asar/js/vendor-shared.js:421741:14)\n at Promise (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.1.1/resources/app.asar/js/vendor-shared.js:287735:16)\n at Promise (<anonymous>)\n at Object.convert (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.1.1/resources/app.asar/js/vendor-shared.js:287732:12)\n at importDataAs (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.1.1/resources/app.asar/js/postman-converters.js:8278:38)\n at Object.convertRawData (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.1.1/resources/app.asar/js/postman-converters.js:8248:26)\n at Object.then.converter (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.1.1/resources/app.asar/js/vendor-shared.js:177832:134)\n at <anonymous>"}]
From: Abhijit Kane [mailto:[email protected]]
Sent: Sunday, May 26, 2019 1:29 AM
To: postmanlabs/openapi-to-postman <[email protected]>
Cc: Michael Rehder <[email protected]>; Mention <[email protected]>
Subject: Re: [postmanlabs/openapi-to-postman] OpenAPI 3.0 Import by Postman 7.0.7 fails (#44)
@mrehder<https://github.com/mrehder> Can you upgrade to Postman 7.1.0 and check if you're still seeing the issue? If yes, we'll need a sample spec (with sensitive data removed) that you're unable to import to debug the issue further.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#44?email_source=notifications&email_token=AC44PZYEFC5BHR2RSIX73YDPXINYBA5CNFSM4HDAYXF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWH6TGQ#issuecomment-495970714>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AC44PZ4BTZBWR2AMEJALIBTPXINYBANCNFSM4HDAYXFQ>.
This email and the information contained herein is proprietary and confidential and subject to the Amdocs Email Terms of Service, which you may review at https://www.amdocs.com/about/email-terms-of-service <https://www.amdocs.com/about/email-terms-of-service>
|
Same issue here, also the --test does not work.
|
|
This is fixed in v0.0.16, and this is included in Postman v7.5.0. |
Import fails.
Log message:
[2648][1554214948381][requester][error]["Open API 3~Failed to import Open API 3.0",{"name":"TypeError","message":"Cannot read property 'push' of undefined","stack":"TypeError: Cannot read property 'push' of undefined\n at _.forEach (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.0.7/resources/app.asar/js/postman-converters.js:42773:18)\n at arrayEach (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.0.7/resources/app.asar/js/postman-converters.js:6875:11)\n at Function.forEach (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.0.7/resources/app.asar/js/postman-converters.js:15701:14)\n at Object.convertPathVariables (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.0.7/resources/app.asar/js/postman-converters.js:42772:9)\n at Object.convertRequestToItem (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.0.7/resources/app.asar/js/postman-converters.js:43655:48)\n at Object.convertChildToItemGroup (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.0.7/resources/app.asar/js/postman-converters.js:42887:17)\n at Object.convertChildToItemGroup (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.0.7/resources/app.asar/js/postman-converters.js:42874:21)\n at Object.convertChildToItemGroup (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.0.7/resources/app.asar/js/postman-converters.js:42864:20)\n at Object.generateCollection (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.0.7/resources/app.asar/js/postman-converters.js:66254:18)\n at Object.convert (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.0.7/resources/app.asar/js/postman-converters.js:66367:12)\n at webpackJsonp.3345.module.exports (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.0.7/resources/app.asar/js/postman-converters.js:66382:15)\n at Object.convert (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.0.7/resources/app.asar/js/postman-converters.js:66170:14)\n at Promise (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.0.7/resources/app.asar/js/postman-converters.js:66118:16)\n at Promise ()\n at Object.convert (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.0.7/resources/app.asar/js/postman-converters.js:66115:12)\n at importDataAs (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.0.7/resources/app.asar/js/postman-converters.js:118887:38)\n at Object.convertRawData (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.0.7/resources/app.asar/js/postman-converters.js:118857:26)\n at Object.then.converter (file:///C:/Users/mrehder/AppData/Local/Postman/app-7.0.7/resources/app.asar/js/vendor-shared.js:156519:134)\n at "}]
The text was updated successfully, but these errors were encountered: