840 Commits

Author SHA1 Message Date
Guilhem Niot
86745ae2eb
Make ClassMetadataFactory optional 2022-09-26 09:09:27 +02:00
Guilhem Niot
a46458e1f3
Merge pull request #2037 from nelmio/APIPLATFORM
Add Api-Platform 3.x support
2022-09-25 21:49:09 +02:00
Guilhem Niot
a011ff8f86 CS 2022-09-25 21:48:03 +02:00
Guilhem Niot
2862d8cf6f fixes 2022-09-25 21:47:11 +02:00
Guilhem Niot
cf8635eb95 Fix CS 2022-09-25 21:33:08 +02:00
Guilhem Niot
383fb78360 Add Api-Platform 3.x support 2022-09-25 21:32:09 +02:00
Guilhem Niot
cfb2800402
Merge pull request #2016 from cretiv-dev/symofny_assert_sequentially_support
Adding support for Symofny Assert\Sequentially
2022-09-25 20:05:36 +02:00
Emil Masiakowski
f808eafbe4
Read discriminator mapping from file configuration (#2034)
* Read discriminator mapping from file configuration

* Use more realistic test data
2022-09-25 19:56:43 +02:00
Asmir Mustafic
18425863b7
Allow jms serializer bundle 5.0 (#2030) 2022-09-25 19:51:03 +02:00
Guilhem Niot
9286903c85
Fix tests (#2036)
* Fix tests

* tes

* Remove api-platform hack
2022-09-25 19:47:49 +02:00
Guilhem Niot
0befc16cb5 Require symfony/deprecation-contracts 2022-09-25 19:38:36 +02:00
Guilhem Niot
f3b843aac6 Bump zircote/swagger-php 2022-09-25 19:28:16 +02:00
Guilhem Niot
898413cba1 coding style 2022-09-25 19:24:31 +02:00
Guilhem Niot
ca6577d420 Fix tests 2022-09-25 19:23:47 +02:00
Guilhem Niot
84973d52f5 Fix api-platform tests 2022-09-25 19:21:32 +02:00
Ivan Borisov
b4df34cdf7
Fix context namespace (#2032)
Co-authored-by: Ivan Borisov <electricheartdev@gmail.com>
2022-09-25 19:00:00 +02:00
Clément Lafont
83c81518c6
Fix methods in route annotation in documentation (#2028)
Fix the bad typo.
2022-09-11 12:19:38 +02:00
Guilhem Niot
fd45120d5c
Catch more precise exception in DocumentationController (#2027)
* Catch more precise exception in DocumentationController

* cs

* Fix tests
2022-09-03 13:18:46 +02:00
Guilhem Niot
766ed898cf
Make Model Attachable (#2025)
* Make Model Attachable

* fix cs

* Drop zircote/swagger-php < 4.2 support
2022-09-03 12:49:49 +02:00
Guilhem Niot
a17ad38cc8
Merge pull request #2026 from nelmio/GuilhemN-patch-1
Compute coverage with PHPUnit
2022-09-03 12:48:54 +02:00
Guilhem Niot
3183a2bffe
Update UtilTest.php 2022-09-03 12:40:23 +02:00
Guilhem Niot
aaf32cb2c2
Activate pcov 2022-09-03 12:36:23 +02:00
Guilhem Niot
78f81b996a
Update continuous-integration.yml 2022-09-03 12:32:11 +02:00
Guilhem Niot
4009e55b74
Compute coverage with PHPUnit 2022-09-03 12:29:51 +02:00
Guilhem Niot
27ed1cc28e
Merge pull request #2011 from magnetik/interfaces
The ObjectModelDescriber can support interfaces
2022-08-29 23:00:08 +02:00
Guilhem Niot
8e8c13ba57
Merge pull request #2012 from magnetik/autoconfigure
Add autoconfigure for model describer tag
2022-08-29 22:57:41 +02:00
Guilhem Niot
f0a4c07cb2
Merge pull request #2019 from goetas/context
use the configured context factory to create the serialization context
2022-08-29 22:56:41 +02:00
Asmir Mustafic
883049a9e0 use the configured context factory to create the serialization context 2022-08-22 20:45:23 +02:00
LALLAHOM Hamdi
3d38bba7cd
Update index.rst (#2015)
Replace "Symfony\Component\Serializer\Annotation\Group" by "Symfony\Component\Serializer\Annotation\Groups"
2022-08-04 11:58:28 +02:00
Grzegorz Kielar
121738f709 Adding support for Symofny Assert\Sequentially 2022-08-03 12:31:21 +02:00
Baptiste Lafontaine
9050994bd4 The ObjectModelDescriber can support interfaces 2022-07-18 17:59:25 +02:00
Baptiste Lafontaine
c39a217ec4 Add autoconfigure for model describer tag 2022-07-18 17:59:11 +02:00
Baptiste Lafontaine
1cf58fbae0
Allow symfony/flex composer plugin (#2013) 2022-07-18 17:58:10 +02:00
Cyril VERLOOP
205828d18d
Fix typo "expect" to "except" in documentation. (#2008) 2022-07-15 23:16:37 +02:00
Guilhem Niot
dcc1cd8964
Fix parameter sharing example (#2004) 2022-06-11 09:56:29 +02:00
Guilhem Niot
c1f4383fc0 Increase tests memory limit 2022-06-11 09:54:36 +02:00
Guilhem Niot
f33eee70fc
Catch a more precise exception in Swagger controller (#2005) 2022-06-10 23:17:15 +02:00
Christopher Davis
235963df41
Merge pull request #1902 from chrisguitarguy/constraint_groups
Respect Constraint Validation Groups When Describing Models
2022-06-10 16:15:42 -05:00
Guilhem Niot
a6f25da106
Detect when a model is used for a form type (#1834)
* Detect when a model is used for a form type

* typo

* Add a test + Fix implementation

* CS
2022-06-10 22:41:24 +02:00
Guilhem Niot
b2b6d0f798
Merge pull request #1999 from chrisguitarguy/rm_inline_styles
Remove Inline Styles in Favor of the Stylesheet
2022-06-10 21:27:23 +02:00
Guilhem Niot
938b954a30
Merge pull request #1986 from WedgeSama/master
Add previous exception to BadRequestHttpException on SwaggerUiController
2022-06-10 20:55:12 +02:00
Guilhem Niot
be8499ffdc
Merge pull request #1988 from nelmio/ROOTCONTEXT
Use the same root context everywhere
2022-06-10 20:52:06 +02:00
Guilhem Niot
ee1fabe245
Merge pull request #2003 from nelmio/GuilhemN-patch-2
Clarify default policy on routes
2022-06-03 19:14:32 +02:00
Guilhem Niot
ba28741721
Merge pull request #2000 from stopfstedt/with_annotation
corrects config option name in docs.
2022-05-31 14:19:20 +02:00
Guilhem Niot
7520ef407f
Clarify default policy on routes 2022-05-31 14:17:59 +02:00
Guilhem Niot
ed33ee8e4a
Fix the docs 2022-05-31 14:09:25 +02:00
Guilhem Niot
7803c7365e
Merge pull request #2002 from fluffycondor/fix-twig-suggestion
Fix wrong package name in suggest section
2022-05-31 14:03:36 +02:00
fluffycondor
075f4eec1c
Fix wrong package name 2022-05-27 17:44:13 +03:00
Stefan Topfstedt
89194219f9 corrects config option name in docs. 2022-05-18 11:55:35 -07:00
Christopher Davis
49bad6743c Remove Inline Styles in Favor of the Stylesheet
Should fix https://github.com/nelmio/NelmioApiDocBundle/issues/1770
2022-05-16 08:56:52 -05:00