89 Commits

Author SHA1 Message Date
Lukas Kahwe Smith
e5268e3f7f
ensure that boolean fields are submited as boolean values when using json 2017-04-28 16:56:15 +02:00
Lukas Kahwe Smith
33307d750e
fix typo to force filters as query parameters 2017-04-28 15:58:38 +02:00
Soltész Balázs
e2c3d7ce94
Make filters always be passed as query string parameters in sandbox requests. 2017-04-28 12:36:27 +02:00
William Durand
b494d8e1ab Merge pull request #821 from tcz/sandbox_output_improvements
Adding request body and curl command to sandbox
2016-05-11 17:32:04 +02:00
William Durand
9dfd984c68 Merge pull request #832 from ismailbaskin/vich-compat
Allow sending empty file data
2016-05-11 17:16:17 +02:00
İsmail BASKIN
246babf209 Allow sending empty file data 2016-04-08 15:26:31 +03:00
ImmortaL
df10a4769c Little template fixes for sandbox 2016-03-18 21:23:22 +03:00
tcz
aef6a89329 Adding request body and curl command to sandbox 2016-03-17 16:09:47 +01:00
William Durand
cec5108133 Merge pull request #781 from AlmogBaku/feature/textareaField
Add textarea type for sandbox
2016-02-24 17:50:13 +01:00
AlmogBaku
3bc98723fe Add textarea type for sandbox 2016-01-08 20:34:15 +02:00
Richard
4744de98fb Added xhrFields: { withCredentials: true } to ajaxOptions to enable
browser authentication for cross origin API requests.
2016-01-06 10:00:21 +01:00
Jonathan Chan
8b7dfdd913
Let the js library set the proper Content-type header when sending files in sandbox - fixes #501 2015-10-27 17:29:36 +01:00
Toni Van de Voorde
d60da7a734 remove 1 empty line to force new tests on travis 2015-10-22 12:10:09 +02:00
Toni Van de Voorde
f57a8bf7ae revert fix "Added workaround for Firefox not sending LINK in uppercase what then" 2015-08-11 11:32:48 +02:00
staurand
a967fce6c7 Added pipe to escaped symbols of jQuery selector
Pipe symbol needs to be escaped in jQuery selector.
This symbol is added when multiple methods are allowed for a route.
e.g /api/doc#get|post--...
2015-06-17 11:48:31 +02:00
William Durand
c71fa155d5
Introduce the concept of 'views'
Rewrite #619
2015-05-16 12:17:59 +02:00
Pol
226e38851f Optimization on the regex 2015-04-14 17:10:09 +02:00
Pol
186d673517 Add the commas to the prettified JSON
I recently came across that when copying the prettified response there were no comma separating the elements. This solves this problem.
2015-04-14 17:01:01 +02:00
dtonder
01f4efc4e0 -fixed binding of on-click handler for json-toggler, - fixed css-class naming 2015-03-29 15:06:58 +02:00
dtonder
d73531aeb5 - added javascript for collapsing sections in json-response, - fixed usage of private service-alias (that will be removed by RemovePrivateAliases-compiler pass) 2015-03-29 14:37:06 +02:00
William Durand
6a9ca36bb4 Merge pull request #560 from wodka/patch-1
fix sandbox with host
2015-03-25 23:17:02 +01:00
Almog Baku
752b953a07 fixes: not attaching api_key to query if empty 2015-03-25 14:53:31 +02:00
Michael Schramm
10d9172d26 fix sandbox with host
suggested change in https://github.com/nelmio/NelmioApiDocBundle/pull/353 is not working
2014-12-30 00:00:27 +01:00
Jeremy Perret
e7d3c803bb Display select to choose http method in sandbox 2014-10-26 12:28:50 +01:00
William Durand
6d50c200ba Merge pull request #498 from jonmchan/honorBodyFormat
Honor body format before uploading file type parameters
2014-10-08 11:36:12 +02:00
William Durand
5950acd73c Merge pull request #490 from ricardclau/store_api_key
Add support for LocalStorage
2014-10-08 11:32:56 +02:00
Jérémie Augustin
01fb243751 fix side effect introduce with list/expand buttons 2014-09-05 11:40:06 +02:00
Emmanuel Vella
2d87ad0fe1 Replace incorrect jQuery.size() method 2014-09-03 15:49:16 +02:00
Ricard Clau
08153a3071 support for localstorage 2014-08-28 23:02:05 +01:00
Jonathan Chan
493e6066b3 Honor body format before uploading file type parameters 2014-08-28 01:48:10 -04:00
Emmanuel Vella
f9d713f9b4 Add query parameters in sandbox request URL 2014-08-26 12:44:11 +02:00
jaugustin
ae2c62fad1 add show/hide button and list/expand operations buttons on sections
add a new parameter default_sections_opened: false (default)
To start with sections opened or closed
2014-08-23 17:17:46 +02:00
William Durand
6952c4b32c Fix #486 2014-08-21 22:44:19 +02:00
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
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
6b18d88517 Merge pull request #446 from EmmanuelVella/bearer
Add Bearer authentication
2014-07-29 16:18:39 +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
Frank Stelzer
54e5fae3de added fix for doubled parameters 2014-07-07 09:08:21 +00: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
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
Yosh de Vos
624802b57a Added configuration to disable body formats 2014-05-21 15:59:55 +02:00