169 Commits

Author SHA1 Message Date
William Durand
4b69e1149a Merge pull request #53 from evillemez/parser_interface
Implemented `ParserInterface`
2012-08-06 03:12:17 -07:00
William DURAND
a643773902 fix css 2012-07-27 10:33:15 +02:00
Samuel Gordalina
87475f5b3a Add requirement input text fields 2012-07-26 12:34:43 +01:00
William Durand
c03624f265 Merge pull request #58 from gordalina/link-unlink-methods
Add LINK and UNLINK method colors
2012-07-25 05:20:17 -07:00
Samuel Gordalina
5613750bda Add LINK and UNLINK method colors 2012-07-25 13:00:12 +01:00
Samuel Gordalina
65631c23c7 Remove double border in content 2012-07-25 12:59:21 +01:00
Samuel Gordalina
ba05346804 Default color for http methods is softer and pleasent 2012-07-25 12:34:48 +01:00
Evan Villemez
89f2044581 fixed compiler pass, updated README 2012-07-24 14:39:43 -04: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
Evan Villemez
06e3a2256b added a ParserInterface, refactored how Parsers are registered in the ApiDocExtractor, changed formType to inputClass in ApiDocExtractor 2012-07-23 12:54:56 -04:00
William DURAND
ec757e3790 Change service name to fit previous commit 2012-07-20 17:40:33 +02:00
William DURAND
e35e977479 Fix Twig filter name 2012-07-20 17:38:39 +02:00
William DURAND
64988d00c1 Remove hard dependency with KnpMarkdownBundle 2012-07-20 17:07:20 +02:00
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