87 Commits

Author SHA1 Message Date
Vyacheslav Slinko
8e03ef99fa Make JSON declaration method configurable 2012-10-16 23:41:16 +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
0d7c2272bc updated documentation to reflect return property, updated markdown formatter tests to reflect parameter readonly property 2012-08-28 16:43:47 -04:00
Evan Villemez
504d5125f9 finished up, tests passing, fixed cs 2012-08-27 13:25:03 -04:00
Alexander
fc5b8c4e63 Add optional api_key parameter to sandbox 2012-08-23 16:53:08 +02:00
Evan Villemez
b9e8d61082 changed inputClass to input, refactored method and class names accordingly, fixed cs in several places 2012-07-23 15:44:37 -04:00
William DURAND
a8e0b24b95 Fix tests, fix markdown/html requirements output 2012-07-20 02:02:45 +02:00
William DURAND
cca97cf6af Refactoring
Move logic to extract data in the Extractor
Remove logic in the AbstractFormatter
Use ApiDoc class as data container
Update tests
Add test to prove the bug with FOSRestBundle annotations (\\d+ instead of \d+)
2012-07-20 01:32:16 +02:00
William DURAND
bee518f92e Allow to disable the sandbox, refactor the configuration. Fix #37 2012-07-18 13:21:31 +02:00
William DURAND
208d25f825 Dump all assets in order to correctly render the generated HTML page, even in offline mode. Fix #42 2012-07-18 12:56:11 +02:00
William DURAND
e7152678a7 Fix tests 2012-07-18 12:46:22 +02:00
Jordi Boggiano
0868d39e9a Merge pull request #43 from willdurand/fix-13
Add support for FOSRest annotations. Fix #13
2012-07-18 03:29:41 -07:00
William DURAND
163d96a295 Add support for FOSRest annotations. Fix #13 2012-07-18 12:23:57 +02:00
William DURAND
e2e647bb03 Merge branch '1.0.x' 2012-07-13 15:32:51 +02:00
William DURAND
fce0f5d5a6 Fix extractor, markdown formatter, and tests 2012-07-13 15:31:53 +02:00
William DURAND
3ec87522b2 Add markdown transformation in HTML output, fix Markdown formatter 2012-07-13 15:31:53 +02:00
Samuel Gordalina
07e6a19dd4 Updated code to pass the tests 2012-07-13 15:31:53 +02:00
Samuel Gordalina
2b02733ee9 Added ability to extract inline documentation from docblock 2012-07-13 13:44:11 +01:00
William DURAND
519b356374 Merge branch '1.0.x'
Conflicts:
	Form/Extension/DescriptionFormTypeExtension.php
	Parser/FormTypeParser.php
	Tests/Fixtures/Form/TestType.php
2012-06-27 10:15:57 +02:00
kphoen
e6438d657f Add: sandbox, to easily try API methods 2012-06-27 09:45:06 +02:00
Christophe Coevoet
fd8ee2679a Added the support of form types defined as services 2012-06-21 00:11:32 +02:00
Christophe Coevoet
04b075736f Applied some php-cs-fixer magic 2012-05-23 00:42:59 +02:00
Adrien BRAULT
be3dca0c47 Add support in docblocks for @param with no description 2012-05-07 12:51:22 +02:00
William DURAND
d1be0d5093 Added parsing of @param doc blocks. Fixes #8 2012-04-19 20:27:27 +02:00
William DURAND
af48be4fc4 Added more tests 2012-04-13 14:27:51 +02:00
William DURAND
3aec03f6c7 Fixed issue if you add an array in a filter attribute 2012-04-13 12:51:09 +02:00
William DURAND
8b018e6de5 Added a way to comment each field of a Form Type 2012-04-13 12:17:11 +02:00
William DURAND
a51d25b94f Used Twig instead of plain PHP in the HtmlFormatter. Fixes #1 2012-04-13 11:25:53 +02:00
Jordi Boggiano
a74520057a Add license 2012-04-13 11:03:05 +02:00
William DURAND
d7f6d665f6 Added a config parameter to set the API name in the HTML documentation 2012-04-12 20:34:19 +02:00
William DURAND
8574982b7b Fixed rendering 2012-04-12 19:17:03 +02:00
William DURAND
f172e74db7 Renamed the bundle 2012-04-12 18:37:42 +02:00
William DURAND
6285ecebb0 [ApiBundle] Added more comments 2012-04-12 17:48:21 +02:00
William DURAND
bfaa0c6adf Added a way to group API methods by 'resource' name 2012-04-12 17:24:38 +02:00
William DURAND
72b8976006 [ApiBundle] Refactored formatters to handle both one object, and a collection 2012-04-12 12:49:43 +02:00
William DURAND
aa9504a80c Refactored formatters 2012-04-12 01:28:56 +02:00
William DURAND
0dc8883e09 Introduced ApiBundle 2012-04-11 20:00:21 +02:00