227 Commits

Author SHA1 Message Date
Jeroen De Dauw
83fc7d08bc Only show request format dropdown when there are multiple formats 2014-08-21 04:43:44 +02:00
Markus Thielen
b6f7179b59 Impossible to access an attribute (\"custom_endpoint\") on a NULL variable
My setup obviously does not have a authentication property set. This change fixes the error.
2014-08-18 11:55:01 +02:00
William Durand
bc1d3f6f7f Merge pull request #468 from bezhermoso/param_type_options
Swagger: Ability to specify "paramType" for input
2014-08-14 21:44:53 +02:00
Bez Hermoso
18004189b3 Ability to specify param-type of input class. 2014-08-14 12:41:27 -07:00
Yosh de Vos
d53028098f Fixed endpoint is undefined in sandbox when custom_endpoint is disabled 2014-08-08 17:55:36 +02:00
Bruce HELLER
5d43f463cf Fixed the wrong endpoint value check when no endpoint is set in config. 2014-08-07 16:45:46 +02:00
Lucas Almeida
b4ca14618a fix enpoint bug 2014-08-04 09:58:02 -03:00
Jan Behrens
df7e97a941 No header deletion for forms with files
Fixes #453
2014-08-01 14:38:00 +02:00
William Durand
310a1f8cfd Merge pull request #438 from nikita2206/patch-1
Add abstract="true" to abstract_formatter
2014-07-30 11:25:40 +02:00
William Durand
75eb7ca356 Merge pull request #418 from bezhermoso/swagger
Swagger support
2014-07-30 11:23:46 +02:00
William DURAND
9ad7e68703 update config reference 2014-07-30 11:10:39 +02:00
William DURAND
6c7c53e78d Fix CS & file permissions 2014-07-30 10:50:23 +02:00
Bez Hermoso
9d3c0a8c29 Swagger support:
Unified data types [actualType and subType]
Updated tests.
JMS parsing fixes; updated {Validator,FormType}Parser, FOSRestHandler, and AbstractFormatter, and updated DataTypes enum.
Modified dataType checking.
Updated tests.
Updated DataTypes enum.
Quick fix and added doc comments.
CS fixes.
Refactored FormTypeParser to produce nested parameters. Updated tests accordingly.
Logical and CS fixes.
Sub-forms and more tests.
Logical and CS fixes.
Swagger support: created formatter.
Configuration and resourcePath logic update.
ApiDoc annotation update. Updated formatter and added tests.
Parameter formatting.
Added tests for SwaggerFormatter.
Added  option in annotation, and the corresponding logic for parsing the supplied values and processing them in the formatter.
Routing update.
Updated tests.
Removed unused dependency and updated doc comments.
Renamed 'responseModels' to 'responseMap'
Update the resource filtering and formatting of response messages.
Updated check for 200 response model.
Ignore data_class and always use form-type to avoid conflicts.
Fix: add 'type' even if '' is specified.
Refactored responseMap; added parsedResponseMap. Added tests and updated some.
Fix: add 'type' even if '' is specified.
Initial commit of command.
Finished logic for dumping files.
Updated doc comment; added license and added more meaningful class comment.
Array of models support.
2014-07-29 10:25:06 -07:00
Bez Hermoso
bb723bdb40 Added new tests for Swagger doc controllers. Also some CS fixes. 2014-07-29 10:25:06 -07:00
Bez Hermoso
ee0496af65 Update swagger-support.md 2014-07-29 10:25:05 -07:00
Bez Hermoso
af5cb3dd76 Removed ambiguity 2014-07-29 10:25:05 -07:00
Bez Hermoso
04818b00e5 Added configuration reference. 2014-07-29 10:25:05 -07:00
Bez Hermoso
cfe6cbc134 Create swagger-support.md 2014-07-29 10:25:05 -07:00
Bez Hermoso
6f85aed33c Swagger support:
Unified data types [actualType and subType]
Updated tests.
JMS parsing fixes; updated {Validator,FormType}Parser, FOSRestHandler, and AbstractFormatter, and updated DataTypes enum.
Modified dataType checking.
Updated tests.
Updated DataTypes enum.
Quick fix and added doc comments.
CS fixes.
Refactored FormTypeParser to produce nested parameters. Updated tests accordingly.
Logical and CS fixes.
Sub-forms and more tests.
Logical and CS fixes.
Swagger support: created formatter.
Configuration and resourcePath logic update.
ApiDoc annotation update. Updated formatter and added tests.
Parameter formatting.
Added tests for SwaggerFormatter.
Added  option in annotation, and the corresponding logic for parsing the supplied values and processing them in the formatter.
Routing update.
Updated tests.
Removed unused dependency and updated doc comments.
Renamed 'responseModels' to 'responseMap'
Update the resource filtering and formatting of response messages.
Updated check for 200 response model.
Ignore data_class and always use form-type to avoid conflicts.
Fix: add 'type' even if '' is specified.
Refactored responseMap; added parsedResponseMap. Added tests and updated some.
Fix: add 'type' even if '' is specified.
Initial commit of command.
Finished logic for dumping files.
Updated doc comment; added license and added more meaningful class comment.

Array of models support.
2014-07-29 10:25:05 -07:00
William Durand
6b18d88517 Merge pull request #446 from EmmanuelVella/bearer
Add Bearer authentication
2014-07-29 16:18:39 +02:00
William Durand
79e84c9867 Merge pull request #439 from thenetexperts/tags-fix
fixed css for tags output
2014-07-29 16:06:14 +02:00
Emmanuel Vella
6bc971c50a Refactored authentication config 2014-07-25 13:40:26 +02:00
Emmanuel Vella
abaf38adc3 Fix toggler click event 2014-07-23 13:21:33 +02:00
thenetexperts
492bb230a8 fixed css for tags output 2014-07-18 11:12:58 +02:00
Nikita Nefedov
afb8536b41 Add abstract="true" to abstract_formatter
Add abstract="true" to abstract_formatter in container definition
2014-07-16 12:20:49 +04:00
Frank Stelzer
54e5fae3de added fix for doubled parameters 2014-07-07 09:08:21 +00:00
Dmitriy
1c05399261 Added more clearance to docs
Specifying form inputs' names prefix in the Form Types Features documentation section
2014-07-01 12:29:58 +03:00
William DURAND
0151624773 update config reference 2014-06-27 14:13:36 +02:00
Simon Schick
4fa50ebe53 Added workaround for Firefox not sending LINK in uppercase what then is denied by nginx.
More info: http://stackoverflow.com/questions/9645037/nginx-rejects-custom-http-methods-if-not-all-upper-case
2014-06-27 10:32:32 +02:00
William Durand
c6741d5710 Merge pull request #369 from emmanuelballery/fixes_for_ff36
Fixes HTML structures for FF36 (and maybe other old browsers)
2014-06-27 10:24:27 +02:00
Jonathan Chan
ba5e2d1454 Fixed small bug introduced when adding 'new parameter' 2014-06-25 13:29:59 -04:00
William Durand
ea2201762d Merge pull request #345 from AlexeyKupershtokh/web-profiler
Symfony web profiler integration
2014-06-25 10:56:43 +02:00
William DURAND
39dd41e285 Merge pull request #388 from yoshz/feature/body_format
Added configuration to disable body formats
2014-06-25 10:30:56 +02:00
Jonathan Chan
1cd77e2f14 added support to properly handle file upload POST 2014-06-25 10:25:45 +02:00
Jonathan Chan
210596eae9 adding support for different parameter types 2014-06-25 10:25:45 +02:00
Sandro Meier
106b42530c Add documentation for tag property 2014-05-27 19:33:52 +02:00
Sandro Meier
dfd094371d Implement Tags for functions. 2014-05-27 13:33:50 +02:00
Marco Jantke
d7c70720b0 Pressing enter in the sandbox mode will now lead to submit the form. 2014-05-23 15:30:21 +02:00
Yosh de Vos
624802b57a Added configuration to disable body formats 2014-05-21 15:59:55 +02:00
William Durand
221f109ad6 Merge pull request #386 from marco-jantke/window-location-hash-fix
Remove hash when closing a method container again. Added small hash help...
2014-05-19 12:03:46 +02:00
Yosh de Vos
8402c748ee Added request formats configuration 2014-05-18 21:25:30 +02:00
Marco Jantke
df7be182cd Remove hash when closing a method container again. Added small hash helper functions. 2014-05-18 01:24:52 +02:00
Matthijs van den Bos
86d9c31340 Only show sandbox config if enabled 2014-05-14 22:05:03 +02:00
Emmanuel BALLERY
0a42d1773c Fix wrong HTML structure a>div 2014-04-24 23:02:56 +02:00
Emmanuel BALLERY
7150ac17de Remove duplicate HTML ID 2014-04-24 23:00:13 +02:00
Emmanuel BALLERY
f2b606fc23 Fix wrong HTML structure ul>li 2014-04-24 22:59:12 +02:00
Emmanuel BALLERY
c78466bbb9 Fix wrong HTML tag 2014-04-24 22:58:34 +02:00
Ayyoub BOUMYA
e6cf2ff0d2 Added a missing 'is'. 2014-03-28 10:46:38 +00:00
Toni Van de Voorde
04c03e3e06 Sandbox should not be disabled in https whenever a method is not marked as
https explictly
2014-03-11 10:24:56 +01:00
Alexey Kupershtokh
11f163d589 Show web profiler link in sandbox 2014-03-11 07:07:35 +07:00