I'm trying to view my local's API endpoints via swagger: http://magento2.docker/swagger

However, even though i already pasted the API KEY into the box, it's still not showing the admin endpoints that the user has permission to view.

I tried using that API KEY in Postman and it's working fine, so the user has correct permissions. I also inspected the headers of the requests made by swagger, it does include the key in Bearer for Authorization so something is preventing swagger from generating the correct list of endpoints.

I know there could be some custom modules that potentially broke this. Any advice on where to check would be greatly appreciated. Thanks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.