Skip to content

Tag: api-platform.com

Entity not visible in swagger UI api platform

I use Api Platform & Symfony (5.4) + php 7.2.5 I created an Entity by myself, I just added one file in /src/Entity and it’s not working. I refresh, I cleared cache, I adde @ApiResource… But the Entity is not visible in the doc page in API Platform. Have you an idea where the error is ? Thanks …

API Plateform custom get operation

I am trying to build an ecommerce site using API plateform. Since I am using JWT authentication with LexikJWTAuthenticationBundle I am having a hard time to get the user with the token. I would like to access the cart of the user. I managed to add to the cart through a custom post operation. I am trying to us…