851 Commits

Author SHA1 Message Date
Guilhem N
8a53891ee9
Merge pull request #1132 from 7thcubic/complex_groups
Fix complex groups context for jms models
2018-01-03 12:01:06 +01:00
Guilhem N
2a42de64e2
Merge pull request #1166 from kubaceg/master
Fix undefined variable  in ApiPlatformDescriber
2018-01-01 16:37:43 +01:00
Jakub Cegielka
1f881517c7 Fix undefined variable in ApiPlatformDescriber 2017-12-31 20:05:14 +01:00
Guilhem N
3fa79bd2b2
Merge pull request #1161 from dbu/phpdocumentor-soft-dependency
do not fail if phpdocumentor is not available
2017-12-29 14:13:08 +01:00
Guilhem N
ca677ba575
Merge pull request #1162 from dbu/add-changelog
add changelog listing changes since 3.0
2017-12-29 14:10:32 +01:00
David Buchmann
49a0d181ea add changelog listing changes since 3.0 2017-12-28 10:55:05 +01:00
David Buchmann
f4a9ad7ef7 do not fail if phpdocumentor is not available 2017-12-28 10:46:05 +01:00
David Buchmann
ccf7a75ec5
Merge pull request #1159 from nelmio/analysis-zG01nA
Apply fixes from StyleCI
2017-12-22 18:44:38 +01:00
David Buchmann
75cf1201ed Apply fixes from StyleCI 2017-12-22 17:42:18 +00:00
Guilhem N
48107de67d
Merge branch 'master' into complex_groups 2017-12-21 17:17:36 +01:00
Guilhem N
8a57f39d01
Merge pull request #1152 from dbu/jms-php-docblocks
parse phpdoc annotations in jms models
2017-12-21 17:12:42 +01:00
David Buchmann
72c8c80d9c adjust to feedback 2017-12-19 23:14:57 +01:00
Guilhem N
b105c1f098
Merge pull request #1155 from discordier/hotfix/handle-integer-form
[3.0] Add integer support to FormModelDescriber
2017-12-19 20:56:19 +01:00
Guilhem N
893a7ad518
Enable the FormModelDescriber only if forms are enabled (#1154)
* Enable the FormModelDescriber only if forms are enabled

* Add a comment
2017-12-19 20:35:10 +01:00
David Buchmann
66872da552 add functional test for docblock model describer 2017-12-19 08:58:48 +01:00
David Buchmann
373516387f do not set description if empty 2017-12-19 08:56:35 +01:00
David Buchmann
3fa948aee8 set up DI and add type support 2017-12-19 08:56:35 +01:00
David Buchmann
fe3629cdeb WIP parse phpdoc annotations in jms models 2017-12-19 08:56:35 +01:00
Christian Schiffler
6f9ed9bba9 Add integer support to FormModelDescriber 2017-12-19 00:22:26 +01:00
Guilhem Niot
f03e33f551 Fix CS 2017-12-18 21:07:44 +01:00
Guilhem N
4e443c43b1
Merge pull request #1148 from dbu/patch-1
make upgrade instructions depend on stable version
2017-12-18 15:55:57 +01:00
David Buchmann
3ad27f46c3
make upgrade instructions depend on stable version 2017-12-18 08:41:18 +01:00
Yi Ping
3b81fa4f2f changes 2017-12-18 08:06:19 +08:00
Myroslav
ac7b924129 Read more properties from swagger property annotation (#1146)
* read default property from swagger property annotation

* read enum from swagger property annotation

* a small fixes
2017-12-17 16:58:41 +01:00
Guilhem N
a6ff145195
Merge pull request #1147 from nelmio/TRAVIS
Update Travis config
2017-12-17 10:52:11 +01:00
Guilhem Niot
4a9d9acb85 Update Travis config 2017-12-17 10:46:20 +01:00
Guilhem Niot
a4fe1f8078 Fix CS 2017-12-17 10:44:07 +01:00
Guilhem N
a07e3bfe75
Merge pull request #1088 from piotrantosik/patch-1
Fix migration command
2017-12-17 10:02:21 +01:00
Guilhem N
95223d47ff
Merge pull request #1142 from hboomsma/patch-1
Remove beta warning from README.md
2017-12-17 09:54:57 +01:00
Guilhem N
785a09fd49
Merge pull request #1145 from discordier/hotfix/override-values-correctly
[3.0] Pass real property to swagger annotation reader
2017-12-17 09:54:02 +01:00
Christian Schiffler
8da1ac0296 Pass real property to swagger annotation reader
The type invariation (changing from the real property to the sub items
definition) causes the swagger annotations to end up on the created
`Items` entry.
This changes the behaviour to update the real property entry with the
swagger annotation.

Additionally this ensures that "description", "title" and "example" are
only updated on `Schema` instances.
2017-12-15 17:39:18 +01:00
Marcin Szepczyński
bff1b3ba0a Add support for boolean type for CheckboxType (#1123)
* Add support for boolean type for CheckboxType

* add functional tests to checkbox form type as boolean
2017-12-15 16:58:40 +01:00
Hidde Boomsma
36e47f5bbf
Remove beta warning from README.md
I noticed you released v3.0.0 🎉. Thnx for the great work!
2017-12-12 07:53:27 +01:00
Kori
29ec20bda1 Fix exception when attempting to read swagger annotation for virtual property (#1136)
* Fix exception when attempting to read swagger annotation for virtual property

* drop jms 1.0, add stopwatch for dependency
2017-12-09 14:31:56 +01:00
Yi Ping
d4bf23bcfb Fix complex groups for jms serializer 2017-12-08 10:38:49 +08:00
Myroslav
01f691c456 support swagger property annotation to extend description properties of model (#1125)
* support swagger property annotation to descripe properties of model

* support swagger property annotation to descripe properties of model

* fix issues from PR review

* rename method

* remove redundant annotations and revert changes into composer.json

* fix issues from PR comments

* use symfony 3 for default tests

* revert chages

* use symfony 3 for default tests

* revert changes in travis config
2017-12-03 19:30:44 +01:00
Guilhem N
8a023a1897
Update travis config (#1117) 2017-11-27 14:40:22 +01:00
Guilhem Niot
2b15539cc3
Merge pull request #1126 from kopaygorodsky/feature/form-collection-type
Feature/form collection type
2017-11-11 12:53:22 +01:00
kopaygorodsky
8521fdc7ea added break 2017-11-11 13:43:42 +02:00
kopaygorodsky
27402d7bb6 added support of collection type + example in forms 2017-11-11 13:33:41 +02:00
kopaygorodsky
d0a6dffa11 Merge branch 'master' of github.com:nelmio/NelmioApiDocBundle 2017-11-11 13:23:05 +02:00
Guilhem Niot
337dd7b609 Merge pull request #1099 from nelmio/tests
Fix tests
2017-10-22 17:36:16 +02:00
Guilhem Niot
9f2436dce3 fix tests 2017-10-22 11:48:33 +02:00
Guilhem Niot
3e98b9fe97 Merge pull request #1104 from tamcy/master
PHP 7.2 compatibility fix
2017-10-12 07:15:04 +02:00
tamcy
da1c1e66f8 iterator_count() should be used against EXSyst\Component\Swagger\Collections\Responses instead of count(). 2017-10-12 12:01:51 +08:00
Tarmo Leppänen
87f40feefc Support for PHP 7.2 (#1094)
* Support for PHP 7.2

* Update composer.json
2017-09-27 20:29:54 +02:00
Jasper Ras
d6913dc78f fix: map route requirements to parameter pattern instead of format (#1081) 2017-09-24 00:57:06 +02:00
Vladislav Kopaygorodsky
0baa677515 Reading form recursively down(nested form) (#1087)
* Added support for EntityType in FormModel Describer. Reading form recursively down. Modified formSupport test

* codestyle fixes
2017-09-20 07:18:58 +02:00
Piotr Antosik
bc91e9d686 Update UPGRADE-3.0.md 2017-09-18 14:32:19 +02:00
kopaygorodsky
b405b33ea2 codestyle fixes 2017-09-15 21:43:20 +03:00