BitBagCommerce / SyliusVueStorefrontPlugin

Sylius plugin integrating Sylius with Vue Storefront
45 stars 24 forks source link

API Docs generation #127

Closed silcki closed 1 year ago

silcki commented 3 years ago

Hello guys When I try to generate the API Doc via Api Platform Swagger I get an error {"result":"Resource \u0022App\\Entity\\Order\\OrderItem\u0022 not found.","code":500} After not long debugging I figured out that you override sylius.model.order_item.class to your model and I had to override it again back to App\Entity\Order\OrderItem I understand why I should extend my model, but I can't understand why you override the parameter for API declaration?

PiotrSzymanski2000 commented 1 year ago

The current solution is deprecated as it was created for Vue Storefront v1. For Vue Storefront 2 integration check out our GraphQL-based integration - https://github.com/BitBagCommerce/SyliusVueStorefront2Plugin