- Support PHP ~8.0
- Fix of empty required option in
AbstractMergeStrategy
- Added support of
symfony/option-resolver
with version>=5.0
- Added Symfony 5 support
- Fixed deprecations for Symfony
- Fixed priority of normalizers and validators.
- Improved performance of
SwaggerCachedConfiguration
.
- Fixed rewriting
mapPathToRouteName
keys inAbstractSwaggerConfigurationLoader
.
- Improved performance due to avoid of usage
RouterInterface::getRouteCollection
at runtime.
- Added support of the several areas when
NelmioApiDocBundle
used for the configuration loading.
- Added symfony cache warmer for the swagger configuration and enable him by default.
- Added console notification when some api definitions have not reference to the source file.
- Added automatic cache warm up in the debug mode, according to source file modification.
- Added composer requirement:
symfony/yaml
.
- Extend
NormalizationFailedException
fromInvalidOptionsException
insteadRuntimeException
. - Removed possibility set
MergeStrategyInterface
for single callSwaggerResolverFactory::createForRequest
. - Renamed
PathParameterMerger
intoOperationParameterMerger
. - Reworked
SwaggerConfigurationLoaderInterface
.
- Added normalizers usage and provides possibility for enable this for concrete parameter locations.
- Added new configuration parameter
enable_normalization
. - Added
SwaggerNormalizerInterface
and implementation forinteger
,number
andboolean
. - Added enums for typical swagger parameter options:
ParameterCollectionFormatEnum
,ParameterLocationEnum
,ParameterTypeEnum
.
- Removed
linkin_swagger_resolver.builder
alias.
- Added possibility for creating
SwaggerResolver
object for all defined swagger request parameters. - Added
SwaggerConfigurationLoaderInterface
into container as alias for the actual configuration loader service. - Added possibility for use different strategies when performing resolving for the full request.
- Added new configuration parameter
path_merge_strategy
. - Added auto-configuration for the
SwaggerValidatorInterface
.
- Renamed
services.yml
intoservices.yaml
.
- Removed compatibility with Symfony lower than 3.4.
- Fixed problem with object type mapping from the documentation to allowed types in PHP.
- Added correct processing of the objects references.
- Fixed incorrect type hinting for the
number
.
- First release of this bundle.