Guilhem N
2c504cdd98
Add exceptions in the upgrading command to warn about the requirement to run it on 2.x ( #1501 )
2019-04-11 20:54:16 +02:00
Guilhem N
92dfcc41a4
Bump Phpunit Bridge ( #1499 )
2019-04-10 21:44:40 +02:00
Guilhem N
23b179a481
Fix the test suite (broken due to an update in Api-Platform) ( #1498 )
2019-04-10 21:07:34 +02:00
Ayrton Ricardo
253e71a46e
Provide default host to generated .json documentation ( #1492 )
...
* Add default host to the current request host to keep the same behaviour as js does
* Add host to test case
* Revert deleted code
* Revert not needed update on expected result
2019-04-10 20:55:04 +02:00
Guilhem Niot
0bd54ea99a
update command
2019-03-09 18:18:05 +01:00
Guilhem Niot
42c08fa681
Merge branch 'fix-SwaggerDocblockConvertCommand' of https://github.com/gesof/NelmioApiDocBundle into gesof-fix-SwaggerDocblockConvertCommand
2019-03-09 18:15:10 +01:00
neFAST
92790b1d28
FIX #1428 Make sure FormInterfaceConfig has a 'documentation' option … ( #1429 )
...
* FIX #1428 Make sure FormInterfaceConfig has a 'documentation' option before getting it
FIX #1428
* adding SubmitType to Tests
* Update UserType.php
* Update UserType.php
* Update FunctionalTest.php
* Update FunctionalTest.php
* removed check to see how unit test handles this
* Add test back
* Cs
2019-03-07 08:48:56 +01:00
Guilhem N
0fe8373d53
Merge pull request #1480 from netbull/patch-1
...
Fix for missing basePath
2019-02-28 19:42:15 +01:00
Aleksandar Dimitrov
f0bc1d3ff4
Fix for missing basePath
...
If it is used without `#/definitions/` the documentation gives an error: `Could not resolve reference because of: Tried to resolve a relative URL, without having a basePath..`
2019-02-27 16:54:49 +02:00
Alex
1e055eecf3
fix schema in SwaggerDocblockConvertCommand
2019-02-26 17:44:25 +02:00
Guilhem N
279d20be78
Merge pull request #1472 from nelmio/GuilhemN-patch-1
...
Do not autowire the form extension
2019-02-18 17:27:10 +01:00
Guilhem N
2cd7522d14
Add class attribute
2019-02-18 17:20:39 +01:00
Guilhem N
1db38a25b0
Do not autowire the form extension
2019-02-18 08:38:56 +01:00
Guilhem N
3b0b5162ea
Merge pull request #1471 from nelmio/GuilhemN-patch-1
...
Update error message
2019-02-13 21:36:43 +01:00
Guilhem N
73f07aac50
Tipo
2019-02-13 21:18:18 +01:00
Guilhem N
0414277d0a
Minor fix
2019-02-13 21:13:17 +01:00
Guilhem N
2d81f9fd49
Update error message
2019-02-13 19:46:28 +01:00
Guilhem N
b171794cce
Merge pull request #1460 from babaorum/areas-in-annotation
...
add a way to filter areas on route by annotation
2019-02-13 19:32:19 +01:00
Guilhem N
78568a3150
Merge pull request #1433 from goetas/serializer-v2
...
Allow jms/serializer v2.0 and willdurand/Hateoas v3.0
2019-02-13 19:25:51 +01:00
babaorum
dcfa5e23e5
add a way to filter areas on route by annotation
2019-02-05 22:43:18 +01:00
Asmir Mustafic
fd7b5e1679
fix missing previous recursive call
2019-01-26 21:03:21 +01:00
Asmir Mustafic
0fb5d7afa2
jms 2.0 groups tested
2019-01-26 21:03:21 +01:00
Asmir Mustafic
e738102514
test low deps on 7.2
2019-01-26 20:55:52 +01:00
Asmir Mustafic
d15b4123c1
add hateoas v3 compat
2019-01-26 20:55:52 +01:00
Asmir Mustafic
66bcf02903
when the naming strategy is not available, we are using jms/serializer 2.0
2019-01-26 20:55:29 +01:00
Dmitriy Simushev
1b104bbf74
Add implementation of FormTypeExtensionInterface::getExtendedTypes ( #1453 )
...
This method is wanted by symfony >= 4.2 and will be required for
symfony >= 5.0
Fixes #1448
2019-01-25 18:25:46 +01:00
mantis
7a5c8a2e0d
Fix: Deprecation: A tree builder without a root node is deprecated since symfony 4.2 ( #1457 )
...
* Fix: Deprecation: A tree builder without a root node is deprecated since Symfony 4.2 and will not be supported anymore in 5.0.
* Fix: Deprecation: A tree builder without a root node is deprecated since Symfony 4.2 and will not be supported anymore in 5.0.
2019-01-25 18:17:45 +01:00
Guilhem N
edb54a1551
Merge pull request #1463 from MyHammer/fix-api-platform-documentation-decoration
...
Fix documentation decoration with API Platform
2019-01-23 13:42:03 +01:00
Guilhem N
2c3e3dd4cd
Merge pull request #1466 from obax/patch-1
...
Update index.rst
2019-01-23 13:40:06 +01:00
Olivier Bacs
43c7c0db58
Update index.rst
...
To reflect Symfony 4's directory and file hierarchy
2019-01-21 23:50:02 +00:00
Alexander Wenzel
f1bb40c6e4
Fix #1462 by allowing all supported implementations of NormalizerInterface in ApiPlatformDescriber
...
> add test
2019-01-11 16:54:58 +01:00
Asmir Mustafic
d00d145b20
allow jms serializer bundle 3.0
2019-01-11 10:42:01 +01:00
Guilhem N
0bca7f377d
Merge pull request #1447 from AyrtonRicardo/master
...
Change validation to allow fields described as DateTimeInterface.
2019-01-02 23:20:13 +01:00
Guilhem N
61b1ed35ad
Merge pull request #1452 from BigZ/feature/add-new-assert-uses
...
feature: Add new validation from constraints.
2018-12-24 01:24:14 +01:00
Romain BigZ Richard
9968027aad
feature: Add new validation from constraints.
...
- Add minimum and maximum from the range annotation
- Add maximum from the LessThan and LessThanOrEqual annotation
FIX: remove the extra date-time format, which was not standard and not in sync with what symfony exposes
Swagger specifies that date-time should follow the RFC3339, and this is what symfony does as default.
2018-12-19 16:25:14 +01:00
Ayrton Ricardo
2f53cc9c12
Add ',' in the end of array
2018-12-10 14:25:08 +01:00
Ayrton Ricardo
2ddf4362c0
Change validation to allow fields described as DateTimeInterface.
2018-12-10 14:21:09 +01:00
David Buchmann
7848e00d41
Merge pull request #1436 from mayflower/master_phpcsfixer
...
fix codestyle errors
2018-11-12 08:32:28 +01:00
Michael Moll
d37a543502
fix codestyle errors
2018-11-11 20:31:50 +01:00
Guilhem N
8839085239
Merge pull request #1427 from nelmio/issue
...
Fix alternative names issue
2018-11-04 12:28:46 +01:00
Guilhem Niot
76f25393c5
Fix alternative names issue
2018-11-04 12:24:45 +01:00
Quentin Stoeckel
1e9585a415
faq.rst: enhance readability in symfony.com docs ( #1420 )
...
It may be a bit less readable on GitHub though.
2018-10-31 16:34:46 +01:00
Quentin Stoeckel
6c6a04bba7
Various documentation enhancements ( #1423 )
2018-10-31 16:33:06 +01:00
Quentin Stoeckel
48aaca92e3
Fix NelmioApiDocBundle view customization instructions ( #1419 )
...
* Fix NelmioApiDocBundle view customization instructions
"Just create a file..." was not OK (missing views/ subdirectory, wrong SwaggerUi case)
The path showcased as code-block's first row was OK
* View customization instructions: remove unnecessary /views/ subdirectory
2018-10-19 20:11:39 +02:00
Asmir Mustafic
9bae1115d6
jms serializer group names are based on the internal property name, not on the serialized name ( #1421 )
2018-10-17 17:19:37 +02:00
Asmir Mustafic
7f78ef9ba6
Restore jms nested groups feature ( #1402 )
...
* fix missing variable definition
* fix caching typo
* do not pre allocate reserved names
* use model hash instead of spl hash
* register later the model
2018-10-10 17:24:13 +02:00
Guilhem N
cd40d556cb
Merge pull request #1404 from bifidokk/area-docs
...
Separated documentation for areas
2018-10-06 14:44:53 +02:00
Guilhem Niot
97b722f97d
Last fixes
2018-10-06 14:42:47 +02:00
Guilhem N
8ec31194a2
Update NelmioApiDocExtensionTest.php
2018-10-06 13:55:32 +02:00
Guilhem N
e6aa97c432
Update ConfigurationTest.php
2018-10-06 13:54:32 +02:00