880 Commits

Author SHA1 Message Date
William Durand
57ef437d25 Merge pull request #482 from mathielen/patch-1
Impossible to access an attribute (\"custom_endpoint\") on a NULL variab...
2014-08-18 17:28:31 +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
Samuel ROZE
3e3ef87b79 Added nested JMS groups exclusion 2014-08-18 11:32:36 +02:00
William Durand
d32381d18d Merge pull request #476 from bezhermoso/swagger-collection-parameter
[Fix] Missing handling for DataTypes::COLLECTION in parameters (input)
2014-08-16 14:29:11 +02:00
Sergey Polischook
3e6a47818e Update PhpDocHandler.php
https://github.com/nelmio/NelmioApiDocBundle/issues/477
2014-08-16 01:59:39 +03:00
Bez Hermoso
b289a6e846 Missing handling for DataTypes::COLLECTION in parameters (input) 2014-08-15 09:47:35 -07: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
William Durand
40c76339b6 Merge pull request #471 from yoshz/bugfix/undefined-endpoint
Fixed endpoint is undefined in sandbox when custom_endpoint is disabled
2014-08-14 21:31:58 +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
William Durand
38f0bec705 Merge pull request #466 from djlemmings/master
Fixed the wrong endpoint value check when no endpoint is set in config.
2014-08-08 17:46:19 +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
William Durand
eb08b7af27 Merge pull request #461 from bezhermoso/validation_parser_patch
Default to DataTypes::STRING when no constraints are found
2014-08-06 22:41:22 +02:00
William Durand
80d1c266f6 Merge pull request #462 from bezhermoso/swagger-auth-definitions
Added 'authorizations` definitions when sandbox authentication is configured
2014-08-06 03:45:37 +02:00
Bez Hermoso
b7f5fb58d4 Added definition when is provided. 2014-08-04 10:58:41 -07:00
Bez Hermoso
bcaaf28d61 Default to DataTypes::STRING 2014-08-04 10:02:18 -07:00
William Durand
e3103c073a Merge pull request #460 from lucasdealmeida/master
fix enpoint bug
2014-08-04 15:52:55 +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
William Durand
4306a1a4a3 Merge pull request #457 from deegital/patch-1
No header deletion for forms with files
2014-08-01 15:47:52 +02:00
Jan Behrens
df7e97a941 No header deletion for forms with files
Fixes #453
2014-08-01 14:38:00 +02:00
Bez Hermoso
ea41c41c7c Swagger command updates. 2014-07-31 12:12:23 -07:00
William Durand
7a364db571 Merge pull request #444 from bezhermoso/caching
Added caching layer
2014-07-31 09:44:46 +02:00
Bez Hermoso
cc0d445601 Added caching layer with the controllers and routing files as resources. 2014-07-31 00:43:59 -07: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
fb35704d5f Add poser badges 2014-07-30 11:17:22 +02:00
William DURAND
3fdb2d4a81 Prepare 2.7.0 release 2.7.0 2014-07-30 11:11:08 +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
07c6557fc5 Test fixes. 2014-07-29 10:25:06 -07:00
Bez Hermoso
a8221d4515 Post-parser support for response map models. 2014-07-29 10:25:06 -07:00
Bez Hermoso
9824a6ba3c Added default value handling. 2014-07-29 10:25:06 -07:00
Bez Hermoso
abaeb374e8 Added 'type' to API item if applicable. 2014-07-29 10:25:06 -07: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
William Durand
c30197f63f Merge pull request #445 from ogizanagi/patch-1
Fix embedded collection of custom FormType Error
2014-07-29 15:59:33 +02:00
William Durand
dcf8cdfe72 Merge pull request #447 from EmmanuelVella/toggler
Fix toggler click event
2014-07-29 15:56:48 +02:00
William Durand
f6df97b9d7 Merge pull request #449 from dbu/patch-1
Update branch-alias
2014-07-29 15:54:22 +02:00
David Buchmann
67a1b380ae Update composer.json 2014-07-28 11:08:21 +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
ogizanagi
4939d116e0 Fix embedded collection of custom FormType Error
Fix an error when trying to use embedded form collections.

Referenced issue: #442
2014-07-21 22:27:09 +02:00