Im using Magento 2.1.3 and PHP 7.0.8.
I would like to test some Magentos 2 import api.
When I'm trying to connect to swagger by http://localhost/swagger error 500 is received:
I'm also trying to connect to http://localhost/rest/default/schema?services=all
I am worried about that it doesn't works.
However I am able to connect via rest to eg. http://localhost/index.php/rest/V1/integration/admin/token and get user token.
I also tried to install https://www.npmjs.com/package/magento2-swagger
root@2d426841549e:/var/www/html# npm install magento2-swagger --save npm WARN saveError ENOENT: no such file or directory, open '/var/www/html/package.json' /var/www/html `-- firstname.lastname@example.org npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/package.json' npm WARN html No description npm WARN html No repository field. npm WARN html No README data npm WARN html No license field.