Trying to use Apigee's apigee2swagger tool.
After hitting the command proxy bundle get downloaded but swagger file is not getting generated. It gives error message as:
Downloaded Bundle from Apigee: {zip location}
[TypeError: Cannot read property '0' of undefined]
What could be issue? In proxy?
@Sonali , Which OS are you using ? Windows ?
@Anil Yes, im using Windows
@Sonali , I haven't tested the tool with windows OS. Seems like it's an issue with unzipping the API proxy bundle. I will keep you updated.
@Anil Thanks.
I tried with cygwin also, it shows error of unzipping bundle. So that could be issue.
I am also getting error in Windows.
apigee2swagger -d .
C:\Users\manish.maheshwari\AppData\Roaming\npm\node_modules\apigee2swagger\node_modules\inquirer\node_modules\rx-lite\rx.lite.js:549 throw e; ^ TypeError: Cannot read property 'substring' of undefined
openapi2apigee generateApi hello -s swagger.yaml -d . -D API name: Hello World App, Version: 0.0.1 Apigee API bundle generated in location . Initiating Apigee Deployment.. C:\Users\manish.maheshwari\AppData\Roaming\npm\node_modules\openapi2apigee\node_modules\inquirer\node_modules\rx-lite\rx.lite.js:549 throw e; ^ TypeError: Cannot read property 'substring' of undefined
@Manish Maheshwari , We haven't tested it on windows, please try same on linux or mac. It's a open source tool, please feel free to contribute in github.
User | Count |
---|---|
7 | |
2 | |
2 | |
2 | |
1 |