Javier Spagnoletti
1063972c27
[JMSModelDescriber] Update JMSModelDescriber
in order to iterate over nested array definitions ( #1365 )
2018-07-23 18:35:05 +02:00
Guilhem N
abc3e71114
Fixes tests
2018-06-03 19:19:29 +02:00
Palluel-Lafleur Frédéric
c2f036c159
fix(SymfonyConstraintAnnotationReader): fixed enum guessing in Assert… ( #1325 )
...
* fix(SymfonyConstraintAnnotationReader): fixed enum guessing in Assert\Choicewhen callback parameter is used
* fix(SymfonyConstraints): turn double quotes in single quotes
2018-05-20 15:59:52 +02:00
Guilhem N
304b3f5816
Merge pull request #1313 from phansys/modeldescriber
...
Normalize description for classes implementing `\DateTimeInterface`
2018-05-05 23:20:03 +02:00
Asmir Mustafic
4253ff6b67
Merge pull request #1277 from goetas/bazinga-hateoas
...
Add basic BazingaHateoasBundle support
2018-05-05 14:49:17 +02:00
Javier Spagnoletti
dbd2076921
Normalize description for classes implementing \DateTimeInterface
2018-05-04 15:22:18 -03:00
Asmir Mustafic
c5b1d538f8
Improve support for JMS dictionaries (associative arrays) ( #1301 )
...
* improve support for JMS dictionaries (associative arrays)
Doc: https://swagger.io/docs/specification/data-models/dictionaries/
* use schema merge instead of reflection
2018-04-21 16:57:37 +02:00
Guilhem Niot
8026ff46eb
Support `@Model
` in in-object annotations
2018-03-22 19:14:01 +01:00
Guilhem Niot
7d99a96cf4
Allow to change a property name
2018-02-19 21:42:56 +01:00
Martijn van Kempen
c72085a507
Added test for the Symfony constraints ( #1213 )
...
* Added test for the Symfony constraints
* Added missing ,
* Removed whiteline
* Moved test from JMS to FunctionTest
* Style ci changes
* Removed unused code
* Removed use
2018-02-05 18:39:58 +01:00
Martijn van Kempen
b07043ce33
Added Symfony constraint annotation reader ( #1202 )
...
* Added Symfony constraint annotation reader
* StyleCI analysis changes
* StyleCI analysis
* StyleCI analysis
* No longer adding the constraint description for NotBlank and NotNull
* Updated doc comment
* Removed @param
* Removed the AbstractComparison condition
* Using Assert and removed unused method
2018-01-25 14:59:48 +01:00
Robert Gruber
fe9d12772b
Add some missing property attributes for JMS model describer ( #1196 )
...
* Add some missing property attributes for JMS model describer
* Introduce own Swagger definition annotation reader
* Shorten annotation mapping by using merge
2018-01-24 15:20:20 +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
Guilhem Niot
eb77f3708c
Cleanup
2018-01-04 11:34:23 +01:00
Guilhem N
48107de67d
Merge branch 'master' into complex_groups
2017-12-21 17:17:36 +01:00
David Buchmann
66872da552
add functional test for docblock model describer
2017-12-19 08:58:48 +01:00
Guilhem Niot
f03e33f551
Fix CS
2017-12-18 21:07:44 +01: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
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
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 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
9c0db1ea51
Fix symfony 4 support
2017-06-14 14:22:46 +02:00
Guilhem Niot
de40660341
Add groups support
2017-06-13 13:34:26 +02:00
Guilhem N
14ae741115
Add models support
2017-01-14 17:36:56 +01:00
Guilhem N
c797269bef
Change the vendor to "Nelmio"
2016-12-29 12:09:26 +01:00
Ener-Getick
c37d615071
Update dependencies
2016-07-29 18:40:56 +02:00
Ener-Getick
170249b369
Add ApiPlatform support
2016-07-29 10:22:40 +02:00