Generates documentation for your REST API from annotations
MIT License
Bot releases are visible (Hide)
Full Changelog: https://github.com/nelmio/NelmioApiDocBundle/compare/v4.29.0...v4.29.1
Published by DjordyKoert 3 months ago
Full Changelog: https://github.com/nelmio/NelmioApiDocBundle/compare/v4.28.0...v4.29.0
Published by DjordyKoert 4 months ago
Full Changelog: https://github.com/nelmio/NelmioApiDocBundle/compare/v4.27.1...v4.28.0
Published by DjordyKoert 4 months ago
Full Changelog: https://github.com/nelmio/NelmioApiDocBundle/compare/v4.27.0...v4.27.1
Published by DjordyKoert 4 months ago
Full Changelog: https://github.com/nelmio/NelmioApiDocBundle/compare/v4.26.2...v4.27.0
Published by DjordyKoert 5 months ago
Full Changelog: https://github.com/nelmio/NelmioApiDocBundle/compare/v4.26.1...v4.26.2
Published by DjordyKoert 6 months ago
Full Changelog: https://github.com/nelmio/NelmioApiDocBundle/compare/v4.26.0...v4.26.1
Published by DjordyKoert 6 months ago
Full Changelog: https://github.com/nelmio/NelmioApiDocBundle/compare/4.25.3...v4.26.0
Published by DjordyKoert 6 months ago
Full Changelog: https://github.com/nelmio/NelmioApiDocBundle/compare/4.25.2...4.25.3
Published by DjordyKoert 7 months ago
Full Changelog: https://github.com/nelmio/NelmioApiDocBundle/compare/v4.25.1...4.25.2
Published by DjordyKoert 7 months ago
Full Changelog: https://github.com/nelmio/NelmioApiDocBundle/compare/v4.25.0...v4.25.1
Published by DjordyKoert 7 months ago
#[\JMS\Serializer\Annotation\Discriminator(field: 'type', map: ['car' => Car::class, 'plane' => Plane::class])]
abstract class Vehicle { }
class Car extends Vehicle { }
class Plane extends Vehicle { }
Full Changelog: https://github.com/nelmio/NelmioApiDocBundle/compare/v4.24.1...v4.25.0
Published by DjordyKoert 7 months ago
Published by DjordyKoert 7 months ago
Added support for some integer ranges (https://phpstan.org/writing-php-code/phpdoc-types#integer-ranges).
Annotations attached to integer properties like:
/**
* @var int<6, 11>
* @var int<min, 11>
* @var int<6, max>
* @var positive-int
* @var negative-int
*/
will be interpreted as appropriate minimum and maximum properties in the generated OpenAPI specification.
Dropped support for PHP 7.2 and PHP 7.3. PHP 7.4 is the minimum required version now.
Full Changelog: https://github.com/nelmio/NelmioApiDocBundle/compare/v4.23.1...v4.24.0
Published by DjordyKoert 8 months ago
Full Changelog: https://github.com/nelmio/NelmioApiDocBundle/compare/v4.23.0...v4.23.1
Published by DjordyKoert 8 months ago
nelmio_api_doc.cache.item_id
now automatically gets the area appended.
nelmio_api_doc:
cache:
pool: app.cache
item_id: nelmio_api_doc.docs
areas:
default:
...
area1:
...
Result in cache keys: nelmio_api_doc.docs.default
& nelmio_api_doc.docs.area1
to be used respectively.nelmio_api_doc:
areas:
default: # Manual cache configuration
cache:
pool: app.cache
item_id: nelmio_api_doc.docs.default
...
area1:
cache:
pool: app.cache
item_id: nelmio_api_doc.docs.area1
...
Non-configured options will be inherited from nelmio_api_doc.cache
.x-*
) from configuration not being outputted in the generated specification.
nelmio_api_doc:
documentation:
info:
title: 'My API'
description: 'My API description'
x-foo: 'bar'
Now results in JSON specification:
{
...
"info": {
"title": "API",
"version": "1.0",
"x-foo": "bar"
},
...
}
oneOf
instead of allOf
.Full Changelog: https://github.com/nelmio/NelmioApiDocBundle/compare/v4.22.1...v4.23.0
Published by DjordyKoert 8 months ago
Full Changelog: https://github.com/nelmio/NelmioApiDocBundle/compare/v4.22.0...v4.22.1
Published by DjordyKoert 8 months ago
Updated bundle directory structure to recommended file structure as described in https://symfony.com/doc/7.0/bundles/best_practices.html.
It might be necessary to reinstall the assets:
bin/console assets:install
Full Changelog: https://github.com/nelmio/NelmioApiDocBundle/compare/v4.21.0...v4.22.0
Published by DjordyKoert 8 months ago
cache.pool
and cache.item_id
.cache_pool
option in configuration by @Brajk19 in https://github.com/nelmio/NelmioApiDocBundle/pull/2225
Full Changelog: https://github.com/nelmio/NelmioApiDocBundle/compare/v4.20.0...v4.21.0
Published by DjordyKoert 8 months ago
Full Changelog: https://github.com/nelmio/NelmioApiDocBundle/compare/v4.19.3...v4.20.0