429 Commits

Author SHA1 Message Date
Gripinskiy Sergey
57f8cf4634 Question about @SWG\Tag annotation added to FAQ (#1525) 2019-06-15 15:22:54 +02:00
Guilhem N
48c29474e0
Update swagger-ui (#1518) 2019-06-10 12:32:09 +02:00
Paweł Mikołajczuk
14e4eedbad Merge pull request #1522 from ahilles107/port/options_support_in_model
Port/options support in model
2019-06-01 15:31:09 +02:00
Guilhem N
846e2e3ae4
Merge pull request #1456 from cyberemissary/cache-authorization
Cache authorization in local storage.
2019-05-18 09:56:51 +02:00
cyberemissary
31ef0bdc58 Cache authorization in local storage. 2019-05-17 16:50:49 -04:00
Asmir Mustafic
eb255010a0 Support typed embedded relation with willdurand/hateoas 3.0 (#1510)
* allow typed embedded relation with hateoas 3.0

* symfony/framework-bundle 4.2.7 is broken

https://github.com/symfony/symfony/pull/31156

* internal public methods
2019-05-02 10:02:16 +02:00
Guilhem N
101648bb8f
Merge pull request #1506 from nelmio/GuilhemN-patch-1
Fix map support of FOSRestBundle
2019-04-23 21:46:19 +02:00
Guilhem N
bad6df703e
Merge pull request #1482 from goetas/use-jms-groups-logic
Use jms/serializer groups detection logic
2019-04-23 21:23:56 +02:00
Serhii Polishchuk
74fcffdc37 Fixed names and multi for array query params (#1509) 2019-04-23 21:12:44 +02:00
Asmir Mustafic
4fbf096595
require jms v3 2019-04-23 15:13:44 +02:00
Guilhem N
a3800fb29a
Fix CS 2019-04-20 13:21:54 +02:00
Guilhem N
90293e171f
Fix map support of FOSRestBundle 2019-04-20 13:18:00 +02:00
Asmir Mustafic
54053571a8
let composer decide the stability 2019-04-17 22:05:30 +02:00
Asmir Mustafic
65e940f7f8
use jms serialization groups detection 2019-04-17 22:05:30 +02:00
Serhii Kondratiuk
ccad10aae1 Added name_patterns filter option (#1504) 2019-04-16 17:22:50 +02:00
Asmir Mustafic
d6ea99420e Allow model describers on jms custom types (#1495)
* allow model describers on jms custom types

* add fallback describer

* test custom type def

* remove object_fallback describer from the container when jms is not active
2019-04-16 12:13:33 +02:00
Guilhem N
258dd2f69f
Improve exceptions message (#1502) 2019-04-12 09:35:49 +02:00
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