179 Commits

Author SHA1 Message Date
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
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 Niot
a4fe1f8078 Fix CS 2017-12-17 10:44:07 +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
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
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
b405b33ea2 codestyle fixes 2017-09-15 21:43:20 +03:00
kopaygorodsky
6e41a20e40 Added support for EntityType in FormModel Describer. Reading form recursively down. Modified formSupport test 2017-09-15 20:31:51 +03:00
Wesley Lancel
3adf8c3d97 Fix type for float / double for JMS models (#1077)
* Fix type for float / double for JMS models

* Set format for number type
2017-09-09 20:40:21 +02:00
Guilhem Niot
1fb8371e80 Add DateTime support 2017-07-25 10:31:23 +02:00
Guilhem Niot
b8479d02e1 Add JMS serializer support 2017-07-25 10:09:41 +02:00
Guilhem Niot
8eb084908d Add forms support 2017-06-24 19:54:48 +02:00
Guilhem Niot
de40660341 Add groups support 2017-06-13 13:34:26 +02:00
Guilhem Niot
87a42ab52d fix cs 2017-05-31 18:35:02 +02:00
Guilhem Niot
12247cb56e
Add return types 2017-03-17 19:37:51 +01:00
Baptiste Lafontaine
02270a6755 Do not use nullable result directly 2017-03-15 13:59:45 +01:00
Guilhem N
b1d95d966d
[SwaggerPhp] Only parse controllers 2017-01-25 18:44:57 +01:00
Baptiste Lafontaine
e613ee48c6 Add support for bool type in ScalarModelDescriber 2017-01-20 09:27:10 +01:00
Guilhem N
14ae741115
Add models support 2017-01-14 17:36:56 +01:00