775 Commits

Author SHA1 Message Date
Guilhem N
497ad05e5f
Merge pull request #1188 from michellesanver/fix-deprecations-in-test-due-to-private-service
Made nelmio_api_doc.generator a public service
2018-01-15 17:29:05 +01:00
Michelle Sanver
7d01a420fa Made nelmio_api_doc.generator a public service
The service was not defined public or private, which threw deprecation notices in the tests where we use it from the container. It is now declared public explicitly to not have deprecations.
2018-01-15 17:05:34 +01:00
Guilhem N
f0baf35856
Update Swagger Ui (#1187) 2018-01-13 14:18:32 +01:00
Guilhem N
eda4a0a340
Always require phpdocumentor/reflection-docblock (#1186) 2018-01-13 14:18:13 +01:00
Guilhem N
b5b0eb1c16
Small fix 2018-01-13 14:12:30 +01:00
Guilhem Niot
b5fb133533 Merge fixes 2018-01-13 13:37:17 +01:00
Guilhem Niot
b73ce1fc06 Fixes 2018-01-13 13:29:45 +01:00
Guilhem N
4d95dde523
Make the docs clearer about models (#1185)
* Make the docs clearer about models

* Fixes
2018-01-13 13:21:23 +01:00
Guilhem N
73a5f104d6
Use @SWG\Parameter type when set instead of throwing (#1174)
* Add an exception

* Just use the manually defined type when set

* Update the jms model describer
2018-01-11 12:26:59 +01:00
David Buchmann
667569be7d
Merge pull request #1182 from nelmio/GuilhemN-patch-2
Several doc fixes
2018-01-10 17:03:30 +01:00
Guilhem N
c89ca38496
Several doc fixes 2018-01-10 14:45:02 +01:00
David Buchmann
1750792121
Merge pull request #1178 from nelmio/GuilhemN-patch-2
Fix links
2018-01-09 15:01:51 +01:00
Guilhem N
605cc84a3f
Fix links 2018-01-09 13:22:28 +01:00
Guilhem N
43dbc10137
Fix links 2018-01-09 12:58:52 +01:00
Guilhem N
4bd1b3ebe6
Merge pull request #1177 from nelmio/method-annotation-doc-improve
Provide example for action summary and description
2018-01-09 12:51:51 +01:00
David Buchmann
c30fb4c984
Provide example for action summary and description 2018-01-09 10:31:38 +01: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 N
92f3eb633b
Merge pull request #1171 from nelmio/docs
Rework the docs
2018-01-04 20:08:06 +01:00
Guilhem N
447f44e5a1
Merge pull request #1172 from nelmio/api-platform
Fix Api-Platform support
2018-01-04 20:05:42 +01:00
Guilhem Niot
a09c105955 Fix Api-Platform support 2018-01-04 18:08:14 +01:00
Guilhem Niot
108687ec8e Fixes 2018-01-04 17:47:47 +01:00
Guilhem Niot
044935aff8 Rework the docs 2018-01-04 14:33:02 +01:00
Guilhem N
1b6a1c2965
Merge pull request #1170 from nelmio/cleanup
Cleanup
2018-01-04 11:37:31 +01:00
Guilhem Niot
eb77f3708c Cleanup 2018-01-04 11:34:23 +01:00
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