yii2mod/yii2-swagger

Failed to load API definition

Opened this issue · 2 comments

swagger was working fine on api of my local project. But when I deployed the project to live, every controller is working well except swagger. The error I got is as follow:

Failed to load API definition

Fetch error 
Internal Server Error /api/web/v1/site/json-schema

I have the same issue, even on local environment.

I have the same problem. You has a solution?