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
f1e28bb7bb
Merge pull request #98 from willdurand/fix
...
Fixes
2012-11-17 09:26:40 -08:00
William DURAND
b31d439dac
Fix tests
2012-11-17 18:09:38 +01:00
William DURAND
1d72183856
Fix CS
2012-11-17 17:53:45 +01:00
William DURAND
2f62db82a9
'type' becomes 'dataType' for consistency purpose
2012-11-17 17:41:12 +01:00
William DURAND
84c82f3b94
Allow HtmlFormatter to be overrided
2012-11-17 17:41:12 +01:00
William DURAND
47112613e8
Refactor formatter, avoid code duplication
2012-11-17 17:41:12 +01:00
William Durand
aee8108413
Merge pull request #97 from FlorianLB/request-param-annotation
...
RequestParam annotation create a parameter item
2012-11-17 06:07:34 -08:00
FlorianLB
e4e9f62230
CS fix
2012-11-16 12:14:46 +01:00
FlorianLB
6b66edbcda
RequestParam annotation create a parameter item
2012-11-14 23:59:06 +01:00
William Durand
74f0778908
Merge pull request #93 from baldurrensch/status_codes
...
Added status codes
2.0.1
2012-11-13 08:07:33 -08:00
Baldur Rensch
cd45f4b146
Removed unused function
2012-11-13 08:04:04 -08:00
Baldur Rensch
742e53b99b
Added status codes
2012-11-13 04:45:07 +00:00
Jordi Boggiano
71f9ec138a
Work around _method requirements allowing multiple methods, fixes #87
2012-11-07 22:34:08 +01:00
Jordi Boggiano
35b8b9ca40
Merge pull request #92 from leevigraham/master
...
A couple of little fixes
2012-11-02 07:58:51 -07:00
Leevi Graham
f4bc5bc5ab
Post background should be green not blue
2012-11-03 01:32:00 +11:00
Leevi Graham
55ef512b4d
Fixed Syntax in README
2012-11-03 00:59:53 +11: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
Jordi Boggiano
1ba258e624
Merge pull request #88 from docteurklein/recursive_parsing
...
avoid infinite recursion when parsing jms metadata
2012-10-24 02:18:12 -07:00
Klein Florian
db4a375992
avoid infinite recursion when parsing jms metadata
2012-10-24 10:29:08 +02:00
Jordi Boggiano
28f059fff0
Merge pull request #86 from vslinko/allow-to-disable-inline-doc
...
Make request listener configurable
2012-10-19 01:05:37 -07:00
Jordi Boggiano
bd3e63c479
Merge pull request #85 from vslinko/json-declaration-method
...
Make request format configurable
2012-10-19 01:04:09 -07:00
Vyacheslav Slinko
ffd9feb797
Improved request_listener configuration
2012-10-17 18:44:14 +04:00
Vyacheslav Slinko
aa70018abe
Make documentation on demand configurable
2012-10-17 17:12:36 +04:00
Vyacheslav Slinko
52df5ebf47
Allow to configure default request format
2012-10-17 15:27:20 +04:00
Vyacheslav Slinko
3540bcfcd8
Make response format more configurable
2012-10-17 15:15:35 +04:00
Vyacheslav Slinko
f25c2f1eeb
Simplify enum nodes
2012-10-17 05:12:47 +04:00
Vyacheslav Slinko
8e03ef99fa
Make JSON declaration method configurable
2012-10-16 23:41:16 +04:00
Jordi Boggiano
6aac4a001e
Merge pull request #83 from lsmith77/patch-2
...
also support symfony 2.2
2012-10-15 05:04:47 -07:00
Lukas Kahwe Smith
766363edec
still allow 2.1
2012-10-14 01:06:56 +03:00
Lukas Kahwe Smith
8ab02ecf01
also support symfony 2.2
...
haven't tested this, but assume it should work fine
2012-10-14 00:43:28 +03:00
William Durand
bd625aebed
Merge pull request #81 from docteurklein/fix-supports-formtype-parser
...
Fix supports formtype parser
2012-10-11 10:02:35 -07: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
William Durand
4cb71512f9
Merge pull request #78 from evillemez/sandbox_update
...
Updated sandbox template
2012-09-12 11:58:58 -07:00
Evan Villemez
41b8622d8b
updated sandbox to not show readonly properties, visually separated filters, requirements and parameters
2012-09-12 14:20:31 -04:00
William Durand
be07de7ffe
Merge pull request #76 from evillemez/nested_formatters
...
Implemented nested parameter handling in formatters
2012-09-11 13:54:42 -07: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
William DURAND
6a7f7b2b3b
Merge remote-tracking branch 'evillemez/html_fix'
2012-09-10 13:16:11 +02:00
William Durand
e1a58fd7f7
Merge pull request #75 from evillemez/param_descriptions
...
implemented param descriptions with JmsMetadataParser
2012-09-10 04:08:11 -07:00
Jordi Boggiano
ee19d631cd
Merge pull request #77 from damienalexandre/patch-1
...
Add a getRoutes method and change property privacy
2012-09-07 02:31:49 -07:00
Damien Alexandre
d2757b6c50
Add a getRoutes method and change property privacy
...
Overwriting this class for route filtering is not possible / easy
at the moment. This commit allow to use our own getRoutes method.
2012-09-06 18:45:12 +03: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
5dc7a417c5
fixed table header in method template
2012-08-31 09:54:34 -04:00