amzn / amazon-payments-magento-2-plugin

Extension to enable Amazon Pay on Magento 2
https://amzn.github.io/amazon-payments-magento-2-plugin/
Apache License 2.0
109 stars 77 forks source link

avoid magento swagger crash #1079

Closed ebaschiera closed 3 years ago

ebaschiera commented 3 years ago

Hi, magento swagger crashes due to that "mixed" type in $cartId parameter notation. Changing it to "string" fixes the problem.

Fixes #1078 .

Additional details about this PR

zichicc commented 3 years ago

Thanks for picking up on this and providing the PR! We're currently testing this internally and initially all looks good. Once our QA passes, we'll include the fix in our workflow to go out in the next release. For now we'll close the PR without accepting it, but this issue will remain open until the release goes out.