FOSRestBundle icon indicating copy to clipboard operation
FOSRestBundle copied to clipboard

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

Results 124 FOSRestBundle issues
Sort by recently updated
recently updated
newest added

Overriding serialization for Deeper Branches of the Object doesn't work with annotations. I'm trying to specify serialization group for child object of my DTO ``` * @Rest\View( * serializerGroups={"Default", "child":...

Hi, Symfony 3.1.7 + FOSRestBundle latest version ```

Hello How to add custom headers to response? **config:** ``` fos_rest: body_listener: true format_listener: rules: - { path: '^/api', priorities: ['json'], fallback_format: json, prefer_extension: false } - { path: '^/user',...

Hello, So we're getting a regression when trying to upgrade to sf 3.4. Once upon a time I had actually tracked down the issue to a change in symfony itself...

If the `@json_decode($data, true)` from json decoders fail, we just have this error: ``` [2018-02-08 07:59:59] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\BadRequestHttpException: "Invalid json message received" at /vendor/friendsofsymfony/rest-bundle/EventListener/BodyListener.php line 115 {"exception":"[object]...

I've an action that responds to `OPTIONS` verb. I don't get any error but the response is always a `200` with no content. If I change my code to respond...

Hi, I want to send form fields informations (attributes etc.) allow to generate this form with vue.js When I send form to the view I have only the fields names:...

Hello, I try to paginate with Pager Fanta like this : ``` /** * Get User Documents * @param User $user * @param ParamFetcherInterface $paramFetcher * @return mixed */ public...

I'm working on a Symfony project in API mode with FosRestBundle and NelmioApiDoc. So, I have an annotation for a param in my route like : * @Rest\QueryParam(name="code", requirements="[0-9]{4}[A−Za-z]{1}", strict=true,...

In Symfony + twigg ``` /*@Route */@Method('POST') public function createEntityAction(Request $request, Entity $entity) ``` this code populates $entity with the form data shipped in the request, with no need to...