497 Commits

Author SHA1 Message Date
Guilhem Niot
fb84e36fdf
Fix #1628 : annotations construction is context dependant (#1632)
* Fix #1628 : since annotations construction is context dependant, we cannot use the cached annotations reader

* CS

* Small improvement

* cs
2020-05-29 21:52:06 +02:00
Fabien Salathe
3f90ef6ce9
Fix undefined property $this->mediaType (#1633) 2020-05-29 18:53:58 +02:00
Guilhem Niot
b2b0e60617 Merge branch 'v3' 2020-05-29 18:20:46 +02:00
Guilhem Niot
5e8f7290e8
Change arrow function to an IE11 compatible function
Imports https://github.com/api-platform/core/pull/2899 and fixes https://github.com/nelmio/NelmioApiDocBundle/issues/1517
2020-05-29 18:15:57 +02:00
Fabien Salathe
dc7399c41d
Fix undefined function in OA\Schema (#1629)
`$property->getTitle()` should be `$property->title`
2020-05-28 19:19:43 +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
Guilhem Niot
2a78b42a94
Merge pull request #1622 from goetas/jms-inline
Add support for JMS Serializer inline property feature
2020-05-15 20:45:36 +02:00
Asmir Mustafic
2fd95e2242
add support for jms serializer inline property feature 2020-05-07 20:02:10 +02:00
Guilhem Niot
be89b2be6c
Merge pull request #1619 from katin-dev/fix_preloader
Help opcache.preload to load Swagger annotation class
2020-05-01 21:30:45 +02:00
katin-dev
f450cd29fb Help php opcache.preload to load Swagger annotation class 2020-04-28 17:43:45 +03:00
Guilhem Niot
e39b7c5d2b
Merge pull request #1618 from pgrimaud/master
Fix typos
2020-04-22 07:50:35 +02:00
Pierre Grimaud
3b6fbf936d Fix typos 2020-04-21 23:47:33 +02:00
Guilhem Niot
2b006dab84
Merge pull request #1617 from svetlyi/master
Exception message fix for array properties
2020-04-21 17:15:06 +02:00
Ivan Pidikseev
2ae2e008fe Exception message fix for array properties 2020-04-16 14:24:25 +03:00
Guilhem Niot
ab014fe032
Merge pull request #1602 from katin-dev/master
Fix generating example for Assert\Choice when choices are object not array
2020-03-31 12:05:08 +02:00
Guilhem Niot
b3c663dd6d
Merge pull request #1608 from simPod/upgrade-ui
Upgrade Swagger UI to 3.25.0
2020-03-29 10:29:39 +02:00
Simon Podlipsky
75c9db256a Upgrade Swagger UI to 3.25.0 2020-03-22 21:33:04 +01:00
katin-dev
97530a6eee #1601 test for Assert\Choice results in numeric array 2020-03-14 15:36:59 +03:00
Guilhem Niot
1a9a5d7ce6
Merge pull request #1552 from cyberemissary/duplicate-param-cleanup
Added describer that removes duplicate parameters when using $ref.
2020-03-14 11:41:27 +01:00
katinsv
82aa08e5ff Fix Assert\Choice when choices are object not array 2020-03-13 16:59:56 +03:00
Guilhem Niot
eb99b32151
Merge pull request #1598 from loverg-c/fix/invalidTag
Fix invalid tag which doesn't has description
2020-03-08 10:19:36 +01:00
Clément Lovergne
9ba4735b78 Fix invalid tag which doesn't has description 2020-03-05 13:39:58 +01:00
Guilhem Niot
0fcf2d5c9a
Merge pull request #1591 from nelmio/analysis-e7YKjA
Apply fixes from StyleCI
2020-02-23 17:51:12 +01:00
Guilhem Niot
d58b4a4d66 Apply fixes from StyleCI 2020-02-23 16:50:24 +00:00
Guilhem Niot
974a81d344
Merge pull request #1575 from FilipBenco/master
Extensible property describing
2020-02-23 17:49:10 +01:00
Guilhem Niot
f5fa7d751a
Merge pull request #1589 from nelmio/FOSRestkey
Use FOSRest *Param::$key when defined
2020-02-21 11:00:04 +01:00
Guilhem Niot
b88793267e Use FOSRest *Param::$key when defined 2020-02-21 10:42:13 +01:00
Guilhem Niot
ebf7fa589b
Merge pull request #1578 from smoench/remove-fosrest-on-symfony5-test
remove FOSRest on symfony 5 test runs
2020-02-21 10:27:25 +01:00
Guilhem Niot
e8c0cc170d
Merge pull request #1588 from phansys/php74
PHP 7.4 is already released
2020-02-21 10:25:30 +01:00
Guilhem Niot
f8bc364245
Merge pull request #1587 from phansys/reflection_docblock
Allow "phpdocumentor/reflection-docblock:5.0"
2020-02-21 10:24:56 +01:00
Javier Spagnoletti
11111e418c PHP 7.4 is already released 2020-02-19 16:41:28 -03:00
Javier Spagnoletti
1e800c48e6 Allow "phpdocumentor/reflection-docblock:5.0" 2020-02-19 16:26:38 -03:00
Filip Benčo
b3f83d00cd
Merge pull request #1 from nelmio/master
Update from upstream
2020-02-18 21:21:41 +01:00
Filip Benčo
bb19ed7568 Revert ModelDescriberAwareInterface 2020-02-18 21:08:48 +01:00
Filip Benčo
90bae6738a Update after PR 2020-02-18 20:45:58 +01:00
cyberemissary
94f7715f68 Refactor Existing Ref parsing in RouteMetadataDescriber 2020-02-06 18:44:17 -05:00
Guilhem Niot
3710e95d26 Rework PR 2020-01-09 21:45:37 +01:00
cyberemissary
9b9dbe69dd Added describer that removes duplicate parameters when using $ref. 2020-01-09 14:29:52 -05:00
Guilhem Niot
9ab9d6da72
Merge pull request #1579 from Nyholm/patch-1
Update branch alias
2019-12-31 12:00:24 +01:00
Tobias Nyholm
bb1f228efa
Update branch alias 2019-12-31 00:41:05 +01:00
smoench
6f7c1fa870
remove FOSRest on symfony 5 test runs as FOSRest does not support symfony 5 yet 2019-12-20 10:52:36 +01:00
Guilhem Niot
d458761251
Merge pull request #1577 from smoench/fix-compatibility-with-symfony5
fix compatibility with symfony 5
2019-12-19 20:48:23 +01:00
smoench
0d6a1591c8
fix compatibility with symfony 5 2019-12-19 15:41:14 +01:00
Filip Benčo
325ba909e1 fix version in composer 2019-12-13 23:59:09 +01:00
Filip Benčo
0c0f1a72e9 Merge branch 'master' of https://github.com/nelmio/NelmioApiDocBundle 2019-12-13 23:56:34 +01:00
Filip Benčo
9d4df838a6 Reverse PHP version 2019-12-13 23:53:15 +01:00
Filip Benčo
35e48e42d3 FIx PHP version 2019-12-13 23:47:19 +01:00
Filip Benčo
b36c1f2073 Fix Symfony version contraints 2019-12-13 23:44:15 +01:00
Filip Benčo
e9926b8025 Fix BC 2019-12-13 23:32:30 +01:00
Filip Benčo
2a3b2df56a Fix nullable array variables 2019-12-13 23:29:52 +01:00