Guilhem Niot
3895e17fe4
Fix exposure of private/protected methods
2020-12-16 23:46:29 +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
8948d5418b
Add methods metadata support for models ( #1678 )
...
* Add methods metadata support for models
* fix cs
2020-07-12 14:54:39 +02:00
Guilhem Niot
8e0713be53
Always use the SerializerExtractor (from the PropertyInfo component) ( #1665 )
...
* Always use the SerializerExtractor (from the PropertyInfo component)
* typo
2020-06-22 16:37:32 +02:00
Guilhem Niot
dfff2476d8
Add @SerializedName
support ( #1636 )
...
* Add `@SerializedName` support
* Also test `@SerializedName` on properties
* Fix tests with sf < 4.2
* Fix the tests
* Update the CHANGELOG
2020-05-30 18:08:25 +02: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
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
Asmir Mustafic
d6ea99420e
Allow model describers on jms custom types ( #1495 )
...
* allow model describers on jms custom types
* add fallback describer
* test custom type def
* remove object_fallback describer from the container when jms is not active
2019-04-16 12:13:33 +02:00
Guilhem N
258dd2f69f
Improve exceptions message ( #1502 )
2019-04-12 09:35:49 +02:00
Guilhem N
2d81f9fd49
Update error message
2019-02-13 19:46:28 +01:00
Ayrton Ricardo
2ddf4362c0
Change validation to allow fields described as DateTimeInterface.
2018-12-10 14:21:09 +01:00
Guilhem Niot
76f25393c5
Fix alternative names issue
2018-11-04 12:24:45 +01:00
Guilhem N
99833189fd
Ignore Type::$nullable ( #1391 )
2018-08-30 01:10:36 +02:00
Guilhem N
619ae0d5ae
Support doctrine Collection ( #1369 )
2018-07-27 08:30:22 +02:00
Javier Spagnoletti
dbd2076921
Normalize description for classes implementing \DateTimeInterface
2018-05-04 15:22:18 -03:00
Dmytro Boiko
badcc8abdd
Fixed #1276 : Symfony Serializer Groups cause Exception while parsing
2018-04-05 15:54:51 +03: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
Guilhem N
e0ce82f8ad
Fix ObjectDescriber
2018-02-14 13:51:06 +01:00
Guilhem N
f193fdb1f1
Inject the AnnotationsReader in Model describers instead of internal classes ( #1203 )
2018-01-24 19:58:38 +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
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
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
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
14ae741115
Add models support
2017-01-14 17:36:56 +01:00