151 Commits

Author SHA1 Message Date
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
Jordi Boggiano
8f3327b376 Merge pull request #46 from willdurand/no-sandbox-cmd
Add new option to the command line: --no-sandbox
2012-07-18 07:50:22 -07:00
William DURAND
374ee9a878 Add new option to the command line: --no-sandbox 2012-07-18 16:51:53 +02:00
William DURAND
bee518f92e Allow to disable the sandbox, refactor the configuration. Fix #37 2012-07-18 13:21:31 +02:00
Jordi Boggiano
636c4cab75 Merge pull request #45 from willdurand/fix-37
Allow to disable the sandbox, refactor the configuration. Fix #37
2012-07-18 04:19:26 -07:00
Jordi Boggiano
9e37388bb2 Merge pull request #44 from willdurand/fix-42
Dump all assets in order to correctly render the generated HTML page, ev...
2012-07-18 04:04:27 -07: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
f8ab93a167 Fix FormTypeParser to reflect last Symfony2 changes
See: cd7835d8d2 (L5L97)
2012-07-14 14:12:12 +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
0ab2278667 Merge branch '1.0.x' 2012-07-13 16:08:29 +02:00
William DURAND
da12c85ddc Update README 2012-07-13 16:06:01 +02:00
William DURAND
c4911f57d2 Fix tests 2012-07-13 16:04:29 +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
fce0f5d5a6 Fix extractor, markdown formatter, and tests 2012-07-13 15:31:53 +02:00
William DURAND
4b1990b688 Fix stuff 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
William DURAND
a0a9170d1c Add knplabs/knp-markdown-bundle 2012-07-13 15:31:53 +02:00
Samuel Gordalina
dccebe0439 Add documentation in README 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
William Durand
f247d6af92 Merge pull request #39 from gordalina/1.0.x
Added ability to extract inline documentation from docblock
2012-07-13 05:48:05 -07:00
Samuel Gordalina
2b02733ee9 Added ability to extract inline documentation from docblock 2012-07-13 13:44:11 +01:00
William DURAND
298b75805d Fix tests 2012-07-12 12:13:24 +02:00
William DURAND
f678fd4fe9 Merge branch '1.0.x' 2012-07-10 14:30:59 +02:00
William Durand
736cf22bfb Merge pull request #36 from gordalina/1.0.x
Add content textarea to sandbox
2012-07-06 00:20:42 -07: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
William Durand
ca18f9b4d3 Merge pull request #34 from stof/clean_css
Clean css
2012-07-05 00:59:47 -07:00
William DURAND
f9012ba76b Update composer, fix tests 2012-07-05 09:58:25 +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
William Durand
ceb9fc021f Merge pull request #31 from K-Phoen/fix-sandbox-default-params
Fix: only filters were used to build the sandbox form
2012-07-02 13:57:36 -07: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