66 Commits

Author SHA1 Message Date
fieg
06271f824a added support for JMS Serializer GroupsExclusionStrategy 2013-05-12 14:29:36 +02:00
Tobias Schultze
d2cd56dafc fix jms metadata parser for hashmaps: array<K, V> 2013-05-10 19:09:57 +02:00
marapper
a97c65da70 Make parameters description conform to others 2013-05-07 23:11:32 +04:00
Benjamin Laugueux
6859384983 Handle the prefix form when parseForm.
Cf. #166 and thanks to @madesst.
2013-04-30 16:19:00 +02:00
Jordan Stout
d099ffa40f use serializer naming strategy for parameter names 2013-03-25 14:40:00 -07:00
Pierre-Yves LEBECQ
7c6c1d5ce0 [Parser] Added float in JmsMetadataParser::isPrimitive(). 2013-03-20 11:16:20 +01:00
William DURAND
c8a0115040 Merge pull request #122 from fvilpoix/80_default_string_field
#80 - unrecognized parameters type from form are defaultly set to 'string'
2013-03-17 16:45:23 +01:00
William DURAND
04a6292eca Merge pull request #129 from adriensamson/collection-form
Add support for collection type in FormType Parser
2013-03-16 18:54:48 +01:00
William DURAND
3fe7e15f58 Merge pull request #121 from relaxnow/feature/issue-109-pr2
Issue-109: Fixed infinite recursion on JMS Types that reference themselves or their parents
2013-03-16 18:50:45 +01:00
Stefano Sala
f5c938dc02 [JmsMetadataParser] added support for ArrayCollection 2013-02-26 19:24:14 +01:00
Jordi Boggiano
f162311a16 CS fix 2013-02-15 13:32:51 +01:00
Stefano Sala
5213b7db71 Fixed version of rest-bundle
Removed check of type string
2013-02-15 10:48:29 +01:00
Stefano Sala
5acf1adced Just fixed some docblock 2013-02-15 09:24:09 +01:00
Stefano Sala
07bb37ac76 Finish upgrade to jms serializer 1.0
Updated deprecated MinLength assertion to Length
Updated array of object parsing
Handled deprecated calls because of using
AbstractType (not sure if it is the best way, though)
2013-02-11 14:42:17 +01:00
Adrien SAMSON
89276b09b7 Add support for collection type in FormType Parser 2013-01-18 15:21:51 +01:00
fvilpoix
c1ee7c6705 #80 - unrecognized parameters type from form are defaultly set to 'string' 2012-12-26 11:21:30 +01:00
Boy Baukema
fe76b6df67 Fixed infinite recursion on JMS Types that reference themselves or their parents. 2012-12-20 10:12:50 +01:00
Lukas Kahwe Smith
befeeb3e3f JMSSerializerBundle 1.0 compatibility 2012-12-04 10:27:33 +01:00
Doug Hurst
b42db62be2 #102 - Doh, PHP is not Python 2012-11-26 12:37:44 -06:00
Doug Hurst
035ebfc965 #102 - Fix for JMS @Type change 2012-11-26 12:27:27 -06:00
Alessandro Tagliapietra
2acf49e9ee Added TODO comment to the workaround 2012-11-19 11:15:28 +01:00
Alessandro Tagliapietra
b3d628a31b Exception handling on unsupported fields types
Since the entity (and maybe others) form field type breaks the doc generations, I've added a try{} catch{} exception handler when you try to a compatible field type in the formParser().

It's a workaround for issue https://github.com/nelmio/NelmioApiDocBundle/issues/94.

Later we can add a better support for other types of fields.
2012-11-19 11:09:26 +01:00
Jordi Boggiano
9c7577f7c2 Merge remote-tracking branch 'docteurklein/virtual_property_support' 2012-10-24 15:38:42 +02:00
Klein Florian
197cdfc989 fix cs 2012-10-24 15:36:41 +02:00
Klein Florian
d129db9a53 add virtual property support for jms parser 2012-10-24 15:09:36 +02:00
Klein Florian
db4a375992 avoid infinite recursion when parsing jms metadata 2012-10-24 10:29:08 +02:00
Klein Florian
df29283a7f fix cs 2012-10-05 09:36:43 +02:00
Klein Florian
011c59b4d7 do not support form types with required options 2012-10-04 10:37:12 +02:00
Klein Florian
734dd0da7e fix bad variable name 2012-10-03 17:06:56 +02:00
Klein Florian
f9d4fb90cd allow to pass classes wich have constructor arguments 2012-10-03 16:39:07 +02:00
Klein Florian
5c52352eb5 allow to pass classes wich have constructor arguments 2012-10-03 16:35:56 +02:00
Evan Villemez
a8b656f3a0 fixed cs 2012-09-10 09:46:52 -04:00
Evan Villemez
29c3798124 implemented nested parameter handling in AbstractFormatter, updated MarkdownFormatter and HtmlFormatter to use it 2012-09-10 09:46:02 -04:00
Evan Villemez
8c3466f6ed abstracted docblock comment extraction, implemented in JmsMetadataParser to get parameter descriptions 2012-08-31 14:57:42 -04:00
Evan Villemez
0af506f151 resolved conflicts 2012-08-28 14:50:40 -04:00
Evan Villemez
504d5125f9 finished up, tests passing, fixed cs 2012-08-27 13:25:03 -04:00
Evan Villemez
ea3fb69627 fixed cs 2012-08-27 12:25:18 -04:00
Evan Villemez
01fce41a0e more accurate reporting of arrays and their types 2012-08-27 12:23:23 -04:00
Evan Villemez
d4fe982300 rebased, fixed cs 2012-08-27 12:23:23 -04:00
Evan Villemez
9b94ae4b2c fixed cs 2012-08-27 12:23:23 -04:00
Evan Villemez
185d0e588b updated JMSMetadataParser to support nested models 2012-08-27 12:23:22 -04:00
Evan Villemez
be3cbb5ba3 fixed potential error in JmsMetadataParser::supports 2012-08-27 12:11:43 -04:00
Evan Villemez
1cf7e18d61 fixed README, other minor things 2012-08-08 10:21:56 -04:00
Evan Villemez
68767f6c72 fixed cs 2012-08-07 21:57:36 -04:00
Evan Villemez
149f282481 tests passing with JmsMetadataParser, but work still to do on required and description properties 2012-08-07 21:47:33 -04:00
Evan Villemez
b71bc8bf3f started on implementing JmsMetadataParser and tests 2012-08-07 17:50:58 -04:00
William Durand
4b69e1149a Merge pull request #53 from evillemez/parser_interface
Implemented `ParserInterface`
2012-08-06 03:12:17 -07:00
William DURAND
83c91a3d9d Add support for nested form types 2012-07-27 10:33:06 +02:00
William DURAND
15a4558277 Add country type 2012-07-27 10:33:06 +02:00
Evan Villemez
89f2044581 fixed compiler pass, updated README 2012-07-24 14:39:43 -04:00