Guilhem Niot

Results 139 comments of Guilhem Niot

You'e right, I updated the title to be clearer what this is about

Sorry for the late answer, NelmioApiDocBundle 2.x is no longer maintained, we haven't added back form translation support but it would be a great addition if you are still willing...

`@Definition` is not parsed on forms. About `required`, it is automatically detected based on how Symfony sees your field (https://github.com/nelmio/NelmioApiDocBundle/blob/master/ModelDescriber/FormModelDescriber.php#L183), I think you should use the `required` form option instead...

Maybe the docs should be more precise, in this case you need to update your form to: ```php public function buildForm(FormBuilderInterface $builder, array $options) { $builder ->add("id", TextType::class, ['required' =>...

Indeed, `zircote/swagger-php` annotations support custom keys through the `x` field (see https://github.com/zircote/swagger-php/blob/a824f77936558c27d2ca43d00528f505fb12f9e3/src/Annotations/AbstractAnnotation.php#L22-L29). As pointed by the error you provided, we should update https://github.com/nelmio/NelmioApiDocBundle/blob/a4c4ffcf3bbcc40d10510f026c4b5a757db8c947/OpenApiPhp/Util.php#L372-L379 to recognize fields beginning with `x-`.

I'm not fund of using `documentation.x`, this does not respect the swagger specification and thus prevent people from using existing documentations.

I'm not able to reproduce. The SerializerExtractor is supposed to return the property names and not the normalized names, and that's indeed what I observed in my tests. Configuring the...

I'm not in favor of giving up to fast on old PHP and Symfony versions, actually even PHP 7.3 is still used a lot (see https://blog.packagist.com/php-versions-stats-2021-1-edition/). I think Symfony can...

In my opinion, it's better to loosen constraints if not too complicated. If an user has left an app unmaintained for some time, I believe it is easier to upgrade...