William Durand
29965ec7bb
Merge pull request #264 from driebit/embedded-forms
...
Add support for embedded forms
2013-11-14 01:42:43 -08:00
William DURAND
d7fd929379
Fix CS
2013-11-14 10:33:57 +01:00
Jordi Boggiano
769b435cf3
Test suite cleanups
2013-10-29 14:41:13 +01:00
David de Boer
fbe9488963
Add support for embedded forms
2013-10-23 15:45:30 +02:00
Konrad Podgórski
74d30d9e39
Option to set requirements and parameters directly from ApiDoc annotation
...
Sometimes required parameters are not used through routing but still they are mandatory. I wanted to have API with
resource.json?foo=bar&something=else
format, that was possible through QueryParam annotation or requirements in routing BUT!
There was no way to set dataType or description
This PR solves problem for me.
Side note: if you want to declare e.g. _format requirement through Annotation or any other param that is used in url ({foo} format) then it won't work. Because Bundle still overrides requirements and parameters after the constuctor in ApiDoc is called. This might be solved in separate PR by adding check if given requirements or parameters was already defined.
2013-10-15 15:28:54 +02:00
Florent DUBOST
8f6ac59c97
Adding test for named resource
2013-10-11 16:18:02 +02:00
Adrien Brault
083ae3aef1
Can now specifiy form name
...
If you create you forms using FormFactoryInterface::createNamed, then you should now be able to tell the ApiDocBundle the correct form prefix.
2013-10-08 12:09:46 -07:00
William Durand
96b40b8a8c
Merge pull request #210 from jhallbachner/validation2
...
Added Support for Validation Component (refactored)
2013-08-13 03:28:09 -07:00
Jordi Boggiano
2a87244869
Fix build
2013-07-05 00:27:42 +02:00
Josh Hall-Bachner
23f64b84f6
Fixed multi-level validation nesting.
...
Removed "class" parameters from results after processed.
Updated README.
2013-06-30 23:46:43 -07:00
Josh Hall-Bachner
0913157399
Added the initial structure for a Symfony Validation handler that is injected into the parsers.
2013-06-30 23:46:41 -07:00
William Durand
0eb7ec27ec
Merge pull request #152 from adriensamson/issue-147
...
Fix Illegal offset warning in FormTypeParser (closes #147 )
2013-06-18 06:44:06 -07:00
Pierre-Yves LEBECQ
13efea8975
Added support for the jms version annotations in formatters
2013-05-12 14:54:01 +02:00
fieg
06271f824a
added support for JMS Serializer GroupsExclusionStrategy
2013-05-12 14:29:36 +02:00
Jordi Boggiano
00bcdc927e
Remove scope hack since 2.3 has been fixed
2013-05-10 10:34:21 +02:00
William Durand
3e8b896d00
Merge pull request #191 from iambrosi/patch-1
...
Added check for deprecated setting
2013-05-10 01:30:50 -07:00
Ismael Ambrosi
0c416c1788
Fixed tests for deprecated indicator
2013-05-09 23:59:03 -03:00
marapper
a97c65da70
Make parameters description conform to others
2013-05-07 23:11:32 +04:00
marapper
80b5162c83
Add @QueryParam default
support
2013-05-06 10:04:13 +02:00
William Durand
5567f74692
Merge pull request #179 from lightglitch/fix-178
...
Fix parameter name boundary in regex
2013-05-06 01:00:51 -07:00
William Durand
1780b09387
Merge pull request #185 from blaugueux/patch-form
...
Handle the prefix form when parseForm.
2013-05-06 00:57:43 -07:00
Jordi Boggiano
255d42830d
Allow sf2.3, fix scope issue
2013-05-03 16:26:16 +02:00
Mario Franco
e6b6987141
Fix formatter tests
2013-05-03 14:49:17 +01:00
Mario Franco
1dc3380e8e
Refactor tests
2013-05-03 14:37:52 +01:00
Benjamin Laugueux
6859384983
Handle the prefix form when parseForm.
...
Cf. #166 and thanks to @madesst.
2013-04-30 16:19:00 +02:00
Mario Franco
fb154280f9
Fix route
2013-04-16 19:59:54 +01:00
Mario Franco
93e83e610c
Added test case
2013-04-16 19:40:29 +01:00
Benjamin Laugueux
5cc7cf212d
Added support for host parameter
2013-04-11 22:03:40 +02:00
Patryk Kala
3b6e9da91a
Ability to mark function as deprecated
2013-03-31 20:35:46 +02:00
Florent DUBOST
772184cfa1
Add some tests for the cache annotation
2013-03-27 16:20:42 +01:00
Jordan Stout
afd07dc570
fixed failing tests
2013-03-26 11:29:50 -07:00
Pierre-Yves LEBECQ
67db76990e
[Formatter] Fixed MarkdownFormatter.
2013-03-21 14:36:52 +01:00
Adrien SAMSON
eef1b7db0a
Add tests for FormTypeParser
2013-03-19 15:43:30 +01:00
William DURAND
2fd3f33ad8
Fix 8c9b8331d066269d48ca374280937be264767ee6
...
* tests
* CS
2013-03-17 16:40:39 +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
William DURAND
91a2fc2159
Fix CS
2013-03-16 18:48:34 +01:00
William DURAND
a7a2d8d1bb
Fix tests
...
Related to 43b8f898455b103f03752b544c828d98fb3f3f49
2013-03-16 18:45:41 +01:00
William DURAND
43b8f89845
Merge pull request #123 from fvilpoix/authentication_attribute
...
adding 'authentication' attribute
2013-03-16 18:22:28 +01:00
Stefano Sala
f5c938dc02
[JmsMetadataParser] added support for ArrayCollection
2013-02-26 19:24:14 +01:00
Toni Van de Voorde
e0fb5c3afe
Support multiple descriptions for a Status Code
2013-02-18 21:07:59 +01:00
Jordi Boggiano
b3d917c9f4
Do not require sf2.2
2013-02-15 13:33:05 +01:00
Jordi Boggiano
efb4bb29dd
Merge remote-tracking branch 'stewe/jms_serlializer_1_0_upgrade'
2013-02-15 13:16:59 +01:00
Jordi Boggiano
e3a8fc6df0
Update for latest FOSRestBundle
2013-02-15 11:37:02 +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
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
fvilpoix
0aa1619c5f
adding 'authentication' attribute
2012-12-26 12:23:28 +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
Baldur Rensch
ef5cbd9b73
Added padlock icon for secure routes
...
This fixes #115
- Added an https property to the annotation
- Added glyphicon padlock icon
- Updated Templates
- Updated Unit tests
2012-12-10 10:21:04 -08:00
Lukas Kahwe Smith
befeeb3e3f
JMSSerializerBundle 1.0 compatibility
2012-12-04 10:27:33 +01:00
William DURAND
923043cb2a
Improve doc, update README, "return" param becomes "output" to be more
...
consistent
2012-11-19 18:21:12 +01:00