William DURAND
6c7c53e78d
Fix CS & file permissions
2014-07-30 10:50:23 +02:00
Sander Marechal
b66e5c4449
Parse JSM\Inline, fixes #372
2014-07-08 13:20:13 +02:00
Giorgio Premi
e2c2d00075
FormTypeParser: FormType constructor should be called when possible
2014-06-27 10:58:53 +02:00
William DURAND
0030ce6825
Merge pull request #358 from pborreli/typos
2014-06-27 10:22:56 +02:00
Pascal Borreli
dbc3fcbb73
Fixed typos
2014-06-27 10:22:36 +02:00
Bez Hermoso
882f658599
Added 'default' parameters in {JmsMetadata,Validator}Parser, and FOSRestHandler.
2014-06-27 10:19:28 +02:00
William Durand
0d1bde9f8a
Merge pull request #352 from sroze/output-post-parser
...
Add PostParserInterface to JmsMetadataParser to get ValidatorParser found children parsed
2014-06-27 10:14:51 +02:00
Bez Hermoso
3a31c93c94
Unified data types [actualType and subType]
...
Updated tests.
JMS parsing fixes; updated {Validator,FormType}Parser, FOSRestHandler, and AbstractFormatter, and updated DataTypes enum.
Modified dataType checking.
Updated tests.
Updated DataTypes enum.
Quick fix and added doc comments.
CS fixes.
Refactored FormTypeParser to produce nested parameters. Updated tests accordingly.
Logical and CS fixes.
Sub-forms and more tests.
Ignore data_class and always use form-type to avoid conflicts.
Quick fix.
2014-06-27 09:35:18 +02:00
Jonathan Chan
d4e12d66f2
Add default values support for form types
...
Adding displaying default value in Markdown
updating tests to work with new default value
2014-06-26 11:20:49 -04:00
Even André Fiskvik
b4e874e2dc
Add support for nullable option in RequestParam
2014-06-25 10:19:30 +02:00
William DURAND
b48650a9e0
Fix CS
2014-06-25 08:52:01 +02:00
Loick Piera
d0149c65ab
fix #357
2014-05-16 22:04:24 +02:00
William DURAND
fa92011126
fix cs
2014-05-16 11:33:58 +02:00
Max Romanovsky
b4fa6013cd
Form Parser improvements for date, datetime & choice form types (format & types)
2014-04-04 13:52:12 +03:00
Samuel ROZE
3f66888f00
Add PostParserInterface to JmsMetadataParser to get ValidatorParser found children parsed.
2014-03-20 16:39:36 +01:00
jdeveloper
dea78901a0
Added exclude_envs to ApiDoc annotation to exclude the documentation from the specified environments
2014-01-20 13:24:41 +01:00
William DURAND
627130637d
Merge PR #288 from piotrantosik/feature/selectparsers
2013-12-28 18:42:51 +01:00
Piotr Antosik
3fdbfbed1c
select used parsers
2013-12-28 18:41:59 +01:00
William DURAND
dc9c706b51
[Test] Extended Class test case
2013-12-28 18:27:48 +01:00
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
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
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
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
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
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
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
Ismael Ambrosi
0c416c1788
Fixed tests for deprecated indicator
2013-05-09 23:59:03 -03:00
marapper
80b5162c83
Add @QueryParam default
support
2013-05-06 10:04:13 +02:00
Mario Franco
1dc3380e8e
Refactor tests
2013-05-03 14:37:52 +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
Florent DUBOST
772184cfa1
Add some tests for the cache annotation
2013-03-27 16:20:42 +01: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
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
43b8f89845
Merge pull request #123 from fvilpoix/authentication_attribute
...
adding 'authentication' attribute
2013-03-16 18:22:28 +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
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