mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 23:59:26 +03:00
393a6c061e
* Add areas support * Document the Areas feature * Allow to expose swagger area as JSON * Fixes * last fixes
39 lines
806 B
Markdown
39 lines
806 B
Markdown
CHANGELOG
|
|
=========
|
|
|
|
3.1.0 (unreleased)
|
|
------------------
|
|
|
|
Symfony Forms
|
|
* Support for boolean checkbox
|
|
* Support for integer
|
|
|
|
JMS Serializer
|
|
* Support JMS `int` (alias for `integer`)
|
|
* Also process phpdoc annotations (if `phpdocumentor/reflection-docblock` is available)
|
|
|
|
SwaggerPHP
|
|
* Handle `enum` and `default` properties from SwaggerPHP annotation
|
|
|
|
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.
|