Samuel ROZE
1112cca784
Add support of All
constraint
2013-11-18 10:24:56 +01:00
Samuel ROZE
184a364fa4
Merge output parameters
2013-11-16 17:29:23 +01:00
William DURAND
e59ae1e1ef
Fix tests for Symfony2 2.1
2013-11-14 14:20:51 +01:00
William DURAND
3ce5dca429
Fix a failing test
2013-11-14 13:26:10 +01:00
William DURAND
87328e27f5
Merge pull request #206 from dothiv/master
...
Show authorized roles in key icon tooltip
2013-11-14 11:17:06 +01:00
Martin Westergaard Lassen
83315fcc80
Set format according to Date, DateTime and Time annotations
2013-11-14 11:05:05 +01:00
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
Nils Wisiol
b2a7dde6f4
improved unit tests by using more specific asserts
2013-06-24 15:57:54 +02:00
Nils Wisiol
f764773c89
authenticationRoles
can be set to appear in the tooltip of the key icon for API calls that require authentication.
2013-06-24 14:27:22 +02: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