91 Commits

Author SHA1 Message Date
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
84973d52f5 Fix api-platform tests 2022-09-25 19:21:32 +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
fluffycondor
075f4eec1c
Fix wrong package name 2022-05-27 17:44:13 +03:00
Baptiste Lafontaine
1302bc7568
Create an enum model describer (#1965)
* Create an enum model describer

* Bump Api-Platform

Co-authored-by: Guilhem Niot <guilhem@gniot.fr>
2022-04-04 11:42:44 +02:00
Guilhem Niot
4b9905fe8b Allow more versions of phpdocumentor/reflection-docblock 2022-01-10 17:10:13 +01:00
Fabiano Roberto
2ade72d0aa feat(dependencies): #1913 - upgrade symfony 60 dependencies 2021-12-21 11:29:10 +01:00
Guilhem Niot
87e4183b9b Add support of JMS v4 2021-12-21 11:24:20 +01:00
Alexey Alshenetsky
14383f4ee5
Add support for zircore/swagger-php 4.0 (#1916)
* add zircore/swagger-php v4 to composer.json

* fix incompatibilities

* add compatibility with 3.2

* Apply fixes from StyleCI

* mark SetsContextTrait as internal

* Bump php version

Co-authored-by: Alexey <alshenestky@icloud.com>
Co-authored-by: Alexey Alshenetsky <alshenetsky@users.noreply.github.com>
Co-authored-by: Guilhem Niot <guilhem@gniot.fr>
2021-12-11 14:39:04 +01:00
Vladislav
35cf37e338
Fix #1885 update psr/log and psr/container (#1892)
Co-authored-by: Vlad Gaiduk <uahaiduk@gmail.com>
2021-11-03 23:57:21 +01:00
Guilhem Niot
69d07979d3
symfony/property-info is a mandatory dependency 2021-08-27 17:20:17 +02:00
Alexander Melihov
2df454c0c3
Compound validation rule support (#1818)
* Compound validation rule support

* Compound validation rule support

* Compound validation rule support

* Compound validation rule support

* Remove duplicated method

* error during merge

* wrong variable name

* Simplify PR

* Fix CS

* Use same indentation as before

Co-authored-by: Guilhem Niot <guilhem@gniot.fr>
Co-authored-by: Guilhem Niot <guilhem.niot@gmail.com>
2021-06-16 09:59:06 +02:00
Alexander M. Turek
0f15282292 Allow psr/cache versions 2 and 3 2021-04-19 14:56:15 +02:00
Guilhem Niot
a48fb7b48a
Merge pull request #1796 from phansys/autoload
Declare "autoload-dev" for `Nelmio\ApiDocBundle\Tests\` namespace
2021-03-14 17:11:27 +01:00
Guilhem Niot
a4d2c6f761
Merge pull request #1793 from derrabus/patch-1
Fix branch alias
2021-03-14 17:10:00 +01:00
Javier Spagnoletti
301da08cb3 Declare "autoload-dev" for Nelmio\ApiDocBundle\Tests\ namespace 2021-03-12 17:46:40 -03:00
Alexander M. Turek
deb80730e1
Fix branch alias 2021-03-12 13:16:07 +01:00
Javier Spagnoletti
3ef1549bf8 Use explicit dependency declarations 2021-03-12 00:35:44 -03:00
Guilhem Niot
ba3fe1cdfa Merge branch '3.x' 2020-12-17 00:06:17 +01:00
Guilhem Niot
76c6f05023 Use stable version of FOSRestBundle 2020-12-16 21:31:45 +01:00
Guilhem Niot
a9e8db4af0
Fix the tests (#1761)
* Bump phpunit-bridge

* Bump many dependencies
2020-12-10 23:00:21 +01:00
Guilhem Niot
363fd26f7c Merge branch '3.x' 2020-12-10 22:28:55 +01: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
34598be7ee Merge branch '3.x' 2020-07-24 17:00:10 +02:00
SAMUEL NELA
0e7803888a
Excluded tests from classmap (#1521) 2020-07-24 15:48:12 +02:00
Guilhem Niot
f420532121
Support using annotations only at the class level of controllers (#1668)
* Support using annotations only at the class level of controllers

* Fix dependencies

* Bump dependency
2020-07-11 17:53:09 +02:00
Guilhem Niot
58f791c0f7 Merge branch '3.x' 2020-05-31 17:54:32 +02:00
Guilhem Niot
1f4dfb0b2b
Add FOSRestBundle 3.x support (#1637)
* Add FOSRestBundle 3.x support

* fix cs

* Update phpunit config

* Fix deprecations

* Fix tests when running with fosrest < 2.8

* revert change
2020-05-31 17:47:18 +02:00
Guilhem Niot
b31522af7e
Fix branch name 2020-05-31 11:35:34 +02:00
Guilhem Niot
cd4aa3705e
Update dev version 2020-05-31 11:35:13 +02:00
Guilhem Niot
ffa61b5f30 Merge branch '3.x' 2020-05-31 11:33:59 +02:00
Guilhem Niot
f9f5fad4d8
Update dev version 2020-05-31 11:33:40 +02:00
Filip Benčo
78664ef9ec
OpenApi 3 Support (#1623)
* Initial pass for OA3 upgrade

* Fix Util Tests

* Fix first batch of Unit Tests. Up to Model

* Another batch of fixed tests

* Update annotations

* Convert Model & Property Describers

* Update tests, Fix RouteDescribers, FIx additional bugs

* Another batch of updates

* Another batch of fixed Functional Tests

* Fix FunctionalTest tests

* Fix Bazinga Tests

* FIx FOS Rest

* Fix JMS TEsts & describers

* Fix all Tests

* Fix few stuff from own CR

* CS Fixes

* CS Fixes 2

* CS Fixes 3

* CS Fixes 4

* Remove collection bug

* Updates after first CRs

* CS

* Drop support for SF3

* Update the docs

* Add an upgrade guide

* misc doc fixes

* Configurable media types

* Code Style Fixes

* Don't use ::$ref for @Response and @RequestBody

* Fix upgrading guide

* Fix OA case

Co-authored-by: Filip Benčo <filip.benco@websupport.sk>
Co-authored-by: Guilhem Niot <guilhem.niot@gmail.com>
Co-authored-by: Mantis Development <mantis@users.noreply.github.com>
2020-05-28 13:19:11 +02:00
Javier Spagnoletti
1e800c48e6 Allow "phpdocumentor/reflection-docblock:5.0" 2020-02-19 16:26:38 -03:00
Tobias Nyholm
bb1f228efa
Update branch alias 2019-12-31 00:41:05 +01:00
Maxime Helias
bfcbf59caf Allow Symfony 5 2019-11-29 13:59:27 +01:00
Maxime Helias
3888d6b976 Fix build travis 2019-11-20 12:15:00 +01: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
Asmir Mustafic
4fbf096595
require jms v3 2019-04-23 15:13:44 +02:00
Guilhem N
92dfcc41a4
Bump Phpunit Bridge (#1499) 2019-04-10 21:44:40 +02:00
Asmir Mustafic
d15b4123c1
add hateoas v3 compat 2019-01-26 20:55:52 +01:00
Asmir Mustafic
d00d145b20
allow jms serializer bundle 3.0 2019-01-11 10:42:01 +01:00
Javier Spagnoletti
df9893428e [JMSModelDescriber] Allow to use free form objects from JMS serialization (#1368)
* [JMSModelDescriber] Allow to use free form objects from JMS serialization

* Remove unused variable

* Refactor `describeItem()`

* Add more tests

* early detect of free form objects

* Add test for array property without type

* Merge `findPropertyType()` and `registerPropertyType()` methods

* Update `registerPropertyType()` in order to set "object" as type for arrays with undefined item types

* Set "additionalProperties" definition for arrays without defined items

* Simplified `registerPropertyType()`

* Merged `registerPropertyType()` into `describeItem()`

* Fix comment

* Fix comment
2018-08-21 17:41:32 +02:00
Markus Poerschke
072f189059 Update PHPUnit to 6.5 and allow newer version of PHPUnit Bridge 2018-05-28 13:58:42 +02:00
Asmir Mustafic
4253ff6b67 Merge pull request #1277 from goetas/bazinga-hateoas
Add basic BazingaHateoasBundle support
2018-05-05 14:49:17 +02:00
Guilhem Niot
8a29e6824d Add a test case 2018-03-22 19:03:25 +01:00
Javier Spagnoletti
ec851ca65c Allow to filter routes by host (#1121) 2018-03-17 10:37:54 -03:00