Guilhem Niot
Guilhem Niot
This was the case in 1.x but we refactored the param fetcher in 2.0 and the default value is not longer type casted to array since. I think the issue...
That's not supported in 3.x unfortunately, mostly due to the way parameters are implemented in swagger. That could be added but the biggest challenge is to find a nice syntax....
Thinking about it again we could also use the ``ref`` field: ```php /** * @Response(response=200, * @Schema(ref=@Model(type="")) * ) */ ``` when it is not clear what ``@Model`` should be...
About your first comment, types must be defined in jms annotations when jms is used (see https://symfony.com/doc/current/bundles/NelmioApiDocBundle/index.html#general-php-objects). About the other one, I think it's a bug in JMSModelDescriber, we try...
This isn't supported currently but it would be a nice feature! We could use the method [`ReflectionClass::getDefaultProperties()`](https://www.php.net/manual/en/reflectionclass.getdefaultproperties.php), inside a new processor ([here](https://github.com/nelmio/NelmioApiDocBundle/tree/master/ModelDescriber/Annotations)). Would you like to contribute this change?
Unfortunately this is not possible yet. I believe this would require us to rethink model registration to either delay the generation of the name to the actual description of the...
Thanks for the report! This is probably related to https://github.com/nelmio/NelmioApiDocBundle/pull/1740: the usage of `$ref` for path parameters was broken. It is not released yet, but will be soon. I'd like...
I like the idea 👍🏻 It's simple and easy to use, and can be useful for people preferring pure PHP over annotations. And I guess this method could just return...
Thank you @JohnstonCode for opening a pull request! Rather than instanciating all attributes, I'd feel more safe using the instanceof flag of getAttributes, to avoid loading broken attributes from other...
`@Inline` is not supported right now, contributions welcome to add its support :) You can fix your doc by using `@SWG\Property(type="string")` meanwhile.