- Changed
datetime
format todate-time
according to swagger specification. - Applied
time
,date
,date-time
format validation according to specification RFC3339. - Improved resource registration for the
SwaggerPhp
by avoidget_declared_classes
usage.
- Removed all unnecessary rows from the
.gitignore
according to.gitignore_global
use instead.
- Fixed incompatible with Symfony 5 according to new contract in
OptionResolver::offsetGet()
. - Added conflict with
nelmio/api-doc-bundle
version lower than3.4
. - Fixed error when
SwaggerResolver
without any validator. - Fixed incorrect behavior of the
multipleOf
validation when received value andmultipleOf
was a float type. - Fixed not worked array validation for the
multi
format. - Fixed incorrect behaviour of the
ReplaceLastWinMergeStrategy
when first duplicate item was marked as required and second item marked as not required. - Fixed working with collection by avoid resource duplication.
- Fixed problem with deprecated DI configuration
- Symfony 5 allowed
- Fixed problem with case-sensitive request method.
- Removed
PathNotFoundException
as redundant.
- Fixed problem with path to route name when http method has been ignored.
- 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 referenced 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.