837 Commits

Author SHA1 Message Date
William Durand
ce54848c31 Merge pull request #486 from JeroenDeDauw/patch-1
Only show request format dropdown when there are multiple formats
2014-08-21 10:40:20 +02:00
Jeroen De Dauw
83fc7d08bc Only show request format dropdown when there are multiple formats 2014-08-21 04:43:44 +02:00
William Durand
a1ec98376b Merge pull request #485 from bezhermoso/cache-param-handling-patch
Caching: Pass in parameters for late resolving
2014-08-20 22:09:17 +02:00
Bez Hermoso
313f0af195 Pass in parameter for late resolving. 2014-08-20 10:26:43 -07:00
William Durand
068d2f1a32 Merge pull request #484 from bezhermoso/fix_items_for_collection_parameters
[Fix] 'items' parameter for collections in parameters.
2014-08-19 22:08:24 +02:00
Bez Hermoso
d99c209f7d Fix: 'items' parameter for collections in parameters. 2014-08-19 12:32:06 -07:00
William Durand
fd0d78e0a8 Merge pull request #472 from sroze/recursive-groups
Added nested JMS groups exclusion
2014-08-18 17:28:42 +02:00
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