308 Commits

Author SHA1 Message Date
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
Kévin Dunglas
adc03ba26d DunglasJsonLdApiBundle support 2015-03-20 09:53:48 +01:00
William Durand
d8c05dbf57 Merge pull request #584 from PedroTroller/feature/form-options
Add form options to ApiDoc input
2015-03-13 17:22:24 +01:00
pedro
d121e28d69 Add form options to ApiDoc input
Update index.md

Remove unused variable. $arguments is now named $options
2015-03-13 16:15:29 +01:00
William Durand
0a1cef77ad
cs 2015-03-06 11:19:08 +01:00
Jérémy CROMBEZ
6990a11e3a [doc] missing "sandbox:" in the authentication yaml examples 2015-02-06 15:54:35 +01: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
Grégoire Paris
95b99a1129 proofread the index 2014-12-11 12:11:51 +01:00
thenetexperts
c6b57a22d1 better readability 2014-12-08 15:04:40 +01:00
Rodrigo Rigotti
fa4b8f3805 Showing 'Documentation' tab makes no sense if the sandbox is disabled. 2014-11-05 10:32:48 -02:00
Jeremy Perret
e7d3c803bb Display select to choose http method in sandbox 2014-10-26 12:28:50 +01:00
Jordi Boggiano
4beb08e587 Update install instructions 2014-10-21 21:24:58 +01:00
Bez Hermoso
859421df9a Form errors parser. Mirrored actual form-errors response by FOSRest. Made sure that FieldErrors is not duplicated. 2014-10-10 11:59:19 -07: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
Vlad
59ea615b7b Update index.md 2014-09-21 05:04:16 +04:00
William Durand
4b163e1b80 Merge pull request #469 from bezhermoso/collections
Support collections on output (including named collections)
2014-09-06 11:33:45 +02:00
Jérémie Augustin
01fb243751 fix side effect introduce with list/expand buttons 2014-09-05 11:40:06 +02:00
Bez Hermoso
06cfe9d48b Allow parsers to remove/replace root parameters. 2014-09-04 10:47:57 -07: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
Bez Hermoso
4be579f7a2 Same-origin policy violation notes 2014-08-26 17:27:41 -07:00
Bez Hermoso
9b544ef535 Updated the docs. Added sections on caching and Swagger support. 2014-08-26 16:26:39 -07:00
Emmanuel Vella
f9d713f9b4 Add query parameters in sandbox request URL 2014-08-26 12:44:11 +02:00
William Durand
fad6f576ee Merge pull request #455 from bezhermoso/swagger-dump-command
api:swagger:dump update
2014-08-25 12:00:30 +02:00
thenetexperts
e1c7e8a5bd adding optional color codes for tags annotation 2014-08-25 11:27:49 +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
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
Bez Hermoso
0e01a00aaf Behavior and usage updates. 2014-08-01 12:56:46 -07: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