24 Commits

Author SHA1 Message Date
Guilhem Niot
200ec0fdcb Merge branch '3.x' 2021-11-04 00:06:42 +01:00
Frederik Holz
aa18c6c83b
[3.x]: Hide the default section per area with new config parameter (#1868)
* Add new config node disable_default_routes to prevent registering RouteDescriber to specific areas which allowes disabling rendering of default routes, Adjust tests accordingly

* Add documentation for new config variable

* Change disable_default_routes to filter route collection instead of disabling route describer, Add test for new handling in FilteredRouteCollectionBuilder

* Change naming of matching method for disabling default routes

* Fix codestyle issue

* Fix codestyle issue

* Change naming of dataProvider to match testing name

Co-authored-by: Frederik Holz <team-orange@auxmoney.com>
2021-10-06 19:28:59 +02:00
Guilhem Niot
6d995a6e03
Add php 8 support (#1745)
* Add php 8 support

* Ignore platform reqs

* Change php constraint

* Use vendor/bin/simple-phpunit directly

* Remove willdurand/hateoas-bundle when testing php8

* Merge 3.x

* Move to github actions

* Fix the tests

* Change ./phpunit permissions

* Update deprecations policy
2020-12-10 21:59:36 +01:00
Guilhem Niot
d558560f61
Remove deprecated features (#1640)
* Remove deprecated features

* Fix cs
2020-05-31 18:18:29 +02:00
Mantis Development
239a26d014
Fix Declaration must be compatible error with tests (#1638)
* Fix Declaration must be compatible error with tests

* Fix phpunit deprecation warnings for @expectedExceptions

* Add phpunit.bat for windows users, bump phpunit to version 7.5
2020-05-31 15:16:51 +02:00
Serhii Kondratiuk
ccad10aae1 Added name_patterns filter option (#1504) 2019-04-16 17:22:50 +02:00
babaorum
dcfa5e23e5 add a way to filter areas on route by annotation 2019-02-05 22:43:18 +01: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
Danil
635aa0f997 Fix test 2018-10-05 20:03:03 +05:00
Danil
8692c1245e Pr fixes 2018-10-05 10:36:48 +05:00
Danil
77f4091805 Fix code style 2018-09-25 16:44:59 +05:00
Danil
f4edb17ffb Fix extension test 2018-09-25 16:42:56 +05:00
Guilhem N
31ae375ab5
Make sure alternative names use the exact names specified (#1384)
* Make sure alternative names use the exact name specified

* Document the feature

* Cs
2018-08-26 22:15:44 +02:00
Danil
a9120e95bd default documentation 2018-08-14 12:30:38 +05:00
bifidokk
f63ab23fe5 Fix tests 2018-07-27 09:44:19 +05:00
Asmir Mustafic
29f3042754 jms serializer groups can be nested (#1366) 2018-07-25 17:58:28 +02:00
Asmir Mustafic
ab005c4129 Implement alternative naming system via configuration (#1312)
* implement alternative naming system via configuration

* use strict comparison

* test di configs

* rever

* test naming aliases are applied

* set "default" as default area

* test names are passed to generators

* cs formatting

* added extra check for built-int types

* cs

* added documentation about alternative names

* allow to create the same alias in two different areas

* document and test better aliasing strategy

* specify that the last matching rule is used

* Make last matching rule wins

* Fix documentation
2018-06-10 09:56:38 +02:00
Javier Spagnoletti
ec851ca65c Allow to filter routes by host (#1121) 2018-03-17 10:37:54 -03:00
Guilhem N
393a6c061e
Add areas support (#1169)
* Add areas support

* Document the Areas feature

* Allow to expose swagger area as JSON

* Fixes

* last fixes
2018-01-05 13:08:02 +01:00
Guilhem Niot
044935aff8 Rework the docs 2018-01-04 14:33:02 +01:00
Christian Schiffler
5c12ff19de Allow configuration to be split on root key level.
We now allow to split the configuration on multiple files, each
containing one of the various root keys of the "documentation" entry.

This means, you may now split "documentation/*" out to own yml files and
import them.

NOTE: this only allows splitting of entries being a direct child of the
documentation entry, so splitting i.e. the info key over multiple files
will not work.
2017-08-08 19:43:01 +02:00