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
Guilhem Niot
a184cb8ef4
Fix deprecations ( #1923 )
2021-12-11 14:19:43 +01:00
Alexander Onatskiy
0667881cdb
Fix Symfony\Component\PropertyInfo\Type::getCollectionValueType() deprecation notice for symfony >=5.3
2021-08-18 16:12:47 +03:00
Guilhem Niot
363fd26f7c
Merge branch '3.x'
2020-12-10 22:28:55 +01:00
Guilhem Niot
68bf1670f3
Fix CS
2020-11-20 17:10:21 +01:00
Guilhem Niot
0912c85a0d
Improve error when the items type of an array is not specified
2020-11-20 17:06:56 +01:00
Guilhem Niot
8c0dcf5605
Improve error about property type
2020-11-01 11:32:13 +01:00
Filip Benčo
9592c7ebfa
Fix nullable array properties ( #1697 )
...
* Fix nullable array properties
* Fix tests & Remove weird leftover dump
* Fix test
Co-authored-by: Filip Benčo <filip.benco@websupport.sk>
2020-08-06 10:22:59 +02:00
Guilhem Niot
7d9573ddf6
Move the OpenApi processing to ApiDocGenerator ( #1671 )
...
* Move the OpenApi processing to ApiDocGenerator
* Temporary fix for https://github.com/zircote/swagger-php/pull/791
* Stop using the ModelRegistry in OpenApiPhpDescriber
2020-07-06 19:50:34 +02:00
Filip Benčo
d932b06bbb
Add support for compound properties ( #1651 )
...
* Add support for compound properties
* Fix CS & Tests
* Another fixing :D
* Final CS fix
* Allow complex compound properties
* cs
* Update the Upgrading guide
* Update php doc
* Add Support for Nullable properties
* Fix CS
* Fix CS
* Add Support for Nullable Types & Schemas as in OA3
* Update Nullable Property handling
* CS
* Fix tests
* Accept also nullable config for Alternative model names
* Refactor nullable refs
* Fix CS & Tests
* Another CS
* Revert "Another CS"
This reverts commit 03ada32b3263f3537d2af63f0abe79bd4a9ac0b5.
* Revert "Fix CS & Tests"
This reverts commit 369f2ccd170aebeeb9d87e9e00cba5cea62d5529.
* Revert "Refactor nullable refs"
This reverts commit 91cdf6fd0130f3ebf415de99f8a91edbc764255e.
* Revert "Revert "Refactor nullable refs""
This reverts commit 0e50fc1938ce3e620fc655a7d1e9284a9f8c24f0.
* Revert "Revert "Fix CS & Tests""
This reverts commit 228d3ca994eb4622c4db81aaa5f32845862e5616.
* Revert "Revert "Another CS""
This reverts commit a5b08dedf5bca8fb711b816c62bed2de9f1c9521.
* Improve nullable refs description
Co-authored-by: Filip Benčo <filip.benco@websupport.sk>
Co-authored-by: Guilhem Niot <guilhem.niot@gmail.com>
2020-06-16 13:11:53 +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
Ivan Pidikseev
2ae2e008fe
Exception message fix for array properties
2020-04-16 14:24:25 +03: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
Filip Benčo
2a3b2df56a
Fix nullable array variables
2019-12-13 23:29:52 +01:00
Filip Benčo
f16ac2e785
Fix tests
2019-12-13 22:54:58 +01:00
Filip Benčo
7fc2f99158
Fix codestyle
2019-12-13 22:48:28 +01:00
Filip Benčo
5d8765db04
Fix codestyle
2019-12-13 22:45:32 +01:00
Filip Benčo
2de03859c0
Fix some bugs and confings
2019-12-13 22:20:13 +01:00
Filip Benčo
f9eacee3fd
Add exntensible Property Describers
2019-12-13 21:40:42 +01:00