mirasvit / module-blog

Magento 2 Blog Extension
https://mirasvit.com/magento-2-extensions/blog.html
Open Software License 3.0
67 stars 48 forks source link

Interfaces should contain full class paths #197

Open sambolek opened 4 years ago

sambolek commented 4 years ago

Hi,

we're using this module, although not API part. We observed the following error is reported Message: The "PostInterface" class doesn't exist and the namespace must be specified. Verify and try again.

In essence, the issue is that, during code formatting, full class names API requires on interfaces were replaced by short versions. The commit in question: https://github.com/mirasvit/module-blog/commit/4978874333a2615eb853a6c9cb67a86b1fc0f717#diff-edf947d6942637ad493627ab621f4b19

To reproduce, try opening your local instance REST API definition https://mysite.test/rest/default/schema . This results in an exception being thrown: https://prnt.sc/tah1an

Could you please re-apply the FQCN to doc blocks of all classes in "Api" folder.

More info: