46 Commits

Author SHA1 Message Date
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
William DURAND
2f62db82a9 'type' becomes 'dataType' for consistency purpose 2012-11-17 17:41:12 +01: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
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
8e03ef99fa Make JSON declaration method configurable 2012-10-16 23:41:16 +04: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
Evan Villemez
5dc7a417c5 fixed table header in method template 2012-08-31 09:54:34 -04:00
Evan Villemez
da1116a43a stopped displaying readonly input parameters in html template 2012-08-30 15:57:43 -04:00
Evan Villemez
94a3d5858f removed required and readonly properties from html output when documenting return 2012-08-29 14:12:12 -04:00
Evan Villemez
ebba238f1c fixed method template 2012-08-29 13:30:08 -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
Alexander
fc5b8c4e63 Add optional api_key parameter to sandbox 2012-08-23 16:53:08 +02:00
Samuel Gordalina
87475f5b3a Add requirement input text fields 2012-07-26 12:34:43 +01:00
William DURAND
e35e977479 Fix Twig filter name 2012-07-20 17:38:39 +02:00
William DURAND
a8e0b24b95 Fix tests, fix markdown/html requirements output 2012-07-20 02:02:45 +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
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
b19822dde5 Merge branch '1.0.x' 2012-07-14 13:58:37 +02:00
William DURAND
59a6b87f71 Add div instead of p for documentation content 2012-07-14 13:57:58 +02:00
William DURAND
e2e647bb03 Merge branch '1.0.x' 2012-07-13 15:32:51 +02:00
William DURAND
3ec87522b2 Add markdown transformation in HTML output, fix Markdown formatter 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
f678fd4fe9 Merge branch '1.0.x' 2012-07-10 14:30:59 +02:00
Samuel Gordalina
4fdc526b42 Change content class name to request-content 2012-07-06 00:23:38 +02:00
Samuel Gordalina
557e4523de Add content textarea to sandbox
Problem: Its not possible to POST content in the sandbox.
With this change it becomes possible to, e.g.: POST JSON data
to the api.

Note: The content will take precedence over parameters if set.
2012-07-05 19:44:35 +02:00
William DURAND
23451fe192 Merge branch '1.0.x' 2012-07-05 11:13:15 +02:00
Samuel Gordalina
ba8d1ae8fc Corrected indentation 2012-07-04 23:42:40 +02:00
Samuel Gordalina
5b78bee151 Moved response headers above response body with a click to expand/shrink 2012-07-04 23:42:38 +02:00
kphoen
c8792f8b53 Fix: only filters were used to build the sandbox form 2012-07-02 21:52:03 +01:00
William DURAND
d5ab75fd9e Added button to get raw response in the sandbox 2012-06-28 10:40:33 +02:00
kphoen
e6438d657f Add: sandbox, to easily try API methods 2012-06-27 09:45:06 +02:00
William DURAND
d1be0d5093 Added parsing of @param doc blocks. Fixes #8 2012-04-19 20:27:27 +02:00
William DURAND
4c984c2ca9 Fixed regression 2012-04-13 14:00:13 +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
1e178669b7 Fixed regression in UI 2012-04-13 12:29:00 +02:00
William DURAND
4a72fffbab Improved user experience 2012-04-13 12:23:46 +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
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
d2285787a5 Allowed to generate a static HTML version of the documentation 2012-04-12 20:10:23 +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