Releases: nelmio/NelmioApiDocBundle
Releases · nelmio/NelmioApiDocBundle
v3.9.1: Update templates comment path for bundle override (#1864)
## Changelog Fix the comment path from SwaggerUI to SwaggerUi since case does matter for template override to work.
Add compound constraints support
Merge pull request #1851 from javiereguiluz/patch-3 [Doc] Fix some minor RST issues
v4.3.0: Merge pull request #1829 from nelmio/PROPACCESS
v3.9.0
2.13.5: Merge pull request #1799 from phansys/config
Backport #1457 for 2.x
v4.2.0: Apply `enum` from Choice Constraints to Items When Choice is Multiple…
… (#1784) * Apply `enum` from Choice Constraints to Items When Choice is Multiple Otherwise JSON schema like this is generated: ``` "property": { "type": "array", "enum": ["one", "two", "three"], "items": { "type": "string" } } ``` With this change, however, this schema is generated: ``` "property": { "type": "array", "items": { "type": "string", "enum": ["one", "two", "three"] } } ``` A possible downside here is that the symfony constraint stuff happens before types are figured out from PHPDoc. So it's _possible_ to end up with something that won't validated. Take something like this: ``` /** * @Assert\Choice(multiple=true, choices={"..."}) * @var string */ ``` This would generate: ``` "property": { "type": "string", "items": { "enum": ["..."] } } ``` * Fix CS * cs * more cs * fix tests Co-authored-by: Guilhem Niot <guilhem@gniot.fr>
v3.8.2
v4.1.1: Fix a regression about manual paths in operation no longer being take…
v3.8.1
Adds php 8 support and extend the documentation of form types with the support of `@OA\Schema`
Fix the tests (#1761) * Bump phpunit-bridge * Bump many dependencies