CHANGELOG ========= 3.2.0 (unreleased) ------------------ * Add a documentation form extension. Use the ``documentation`` option to define how a form field is documented. * Allow references to config definitions in controllers. Config * `nelmio_api_doc.areas` added support to filter by host patterns. ```yml nelmio_api_doc: routes: [ host_patterns: [ ^api\. ] ] ``` * Added dependency for "symfony/options-resolver:^3.4.4|^4.0" 3.1.0 (2017-01-28) ------------------ * Added Symfony Validator constraints support Symfony Forms * Support for boolean checkbox * Support for integer JMS Serializer * Support JMS `int` (alias for `integer`) * Also process phpdoc annotations SwaggerPHP * Handle `enum` and `default` properties from SwaggerPHP annotation * Support `@Security` annotations Config * `nelmio_api_doc.routes` has been replaced by `nelmio_api_doc.areas`. Please update your config accordingly. Before: ```yml nelmio_api_doc: routes: [ path_patterns: [ /api ] ] ``` After: ```yml nelmio_api_doc: areas: [ path_patterns: [ /api ] ] ``` 3.0.0 (2017-12-10) ------------------ Large refactoring introducing `zircote/swagger-php` for swagger annotations. See UPGRADE-3.0.md for upgrading instructions.