William DURAND
de079f0a91
Fix CSS
2012-07-20 09:42:24 +02: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
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
Samuel Gordalina
1c4ed7902d
Incremented line-height on <pre> elements
2012-07-14 13:57:58 +02:00
William DURAND
dfcf41b0f8
Merge branch '1.0.x'
2012-07-13 15:54:40 +02:00
William DURAND
6c3aeff227
Fix presentation of documentation
2012-07-13 15:53:24 +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
Christophe Coevoet
9d2021458f
Removed more unused rules
2012-07-05 01:59:18 +02:00
Christophe Coevoet
560d24152d
Removed more useless code
2012-07-05 01:50:23 +02:00
Christophe Coevoet
adb0021660
Removed useless rules
2012-07-05 01:46:26 +02:00
Christophe Coevoet
f874f2517d
Moved the header link styles with the other header rules
2012-07-05 01:44:06 +02:00
Christophe Coevoet
3a9a2849e3
Removed the duplication for the different methods
2012-07-05 01:43:32 +02:00
Christophe Coevoet
5a36d673e8
Simplified the heading selectors and removed unused rules
2012-07-05 00:56:48 +02:00
Christophe Coevoet
77c5ab1336
Simplified some selectors
2012-07-05 00:56:35 +02:00
Christophe Coevoet
0b38a5f761
Removed unused CSS
2012-07-05 00:39:53 +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
b74273b72d
Merge branch '1.0.x'
2012-06-28 10:40:57 +02:00
William DURAND
d5ab75fd9e
Added button to get raw response in the sandbox
2012-06-28 10:40:33 +02: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
f7c2425265
Added the CSS for the patch method
...
Closes #18
2012-06-21 00:43:28 +02:00
Victor Berchet
fd00844dc6
[Form] Update to sf2.1
2012-05-27 22:56:01 +02:00
William DURAND
d1be0d5093
Added parsing of @param doc blocks. Fixes #8
2012-04-19 20:27:27 +02:00
lsmith77
6940174586
support controllers as services
2012-04-13 16:33:24 +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
Jordi Boggiano
8426a3a70e
Allow users to configure the api doc URL
2012-04-13 10:42:31 +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
9eab1452c5
Updated documentation
...
Added a screenshot to show parameters
2012-04-12 19:53:54 +02:00
William DURAND
869b8ddae9
Added screenshots
2012-04-12 19:38:19 +02:00
William DURAND
5bd05379ec
Fixed naming
2012-04-12 19:10:16 +02:00