MultiSafepay / magento2

MultiSafepay plugin for Magento 2
Open Software License 3.0
19 stars 8 forks source link

multisafepay/magento2-core breaks swagger #29

Closed dimasalamatov closed 2 years ago

dimasalamatov commented 2 years ago

Describe the bug Swagger is not working after multisafepay/magento2-core module is installed.

To Reproduce Steps to reproduce the behavior:

  1. Go to /swagger
  2. See the error "Failed to load API definition." image
  3. Check /rest/all/schema?services=all
  4. See the explanation of the error image

Expected behavior Swagger works properly.

Additional info Seems swagger can not recognize return types which is not full path to class / interface. image

In case full path is specified, swagger will work properly. image

Extension info

  1. Name: multisafepay/magento2-core
  2. Version: 2.13.0
vinodsowdagar commented 2 years ago

Hi @dimasalamatov ,

Thank you for the report! I have created a backlog item for us to check it out. I expect to pick it up next week.

When i know more about the status of our investigation i will let you know.

vinodsowdagar commented 2 years ago

Hi @dimasalamatov ,

We have fixed this issue in our latest release: https://github.com/MultiSafepay/magento2/releases/tag/2.16.0

I am closing this issue. If you still have questions or comments, feel free to reopen this issue.