32 Commits

Author SHA1 Message Date
Bez Hermoso
cc0d445601 Added caching layer with the controllers and routing files as resources. 2014-07-31 00:43:59 -07:00
William Durand
75eb7ca356 Merge pull request #418 from bezhermoso/swagger
Swagger support
2014-07-30 11:23:46 +02:00
William DURAND
6c7c53e78d Fix CS & file permissions 2014-07-30 10:50:23 +02: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
Emmanuel Vella
6bc971c50a Refactored authentication config 2014-07-25 13:40:26 +02:00
Bez Hermoso
3a31c93c94 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.

Ignore data_class and always use form-type to avoid conflicts.

Quick fix.
2014-06-27 09:35:18 +02:00
Yosh de Vos
624802b57a Added configuration to disable body formats 2014-05-21 15:59:55 +02:00
Yosh de Vos
8402c748ee Added request formats configuration 2014-05-18 21:25:30 +02:00
jdeveloper
dea78901a0 Added exclude_envs to ApiDoc annotation to exclude the documentation from the specified environments 2014-01-20 13:24:41 +01:00
William DURAND
eca2eb6d80 Improve documentation (authentication/sandbox) 2014-01-10 11:20:22 +01:00
jsampedro
7f2cff2ac5 Adds custom header Authentication method 2013-07-19 10:05:57 +02:00
Josh Hall-Bachner
a9f0613cee Added a configuration parameter to determine the default body format. 2013-06-04 15:30:07 -07:00
Benjamin Laugueux
8f37d7ba79 Fixed configuration 2013-04-12 08:49:38 +03:00
Benjamin Laugueux
0b7e734594 Added http basic authentication and custom api endpoint.
Fixed test
2013-04-11 13:57:31 +02:00
Patryk Szlagowski
0eb538083a motd configuration 2013-04-08 11:44:43 +02:00
William DURAND
026fcc4761 Merge pull request #117 from gregholland/master
Add a config option for a default Accept header
2013-03-16 18:53:19 +01:00
Jordi Boggiano
abac2a03df Use proper base url by default instead of hardcoded app_dev controller 2013-03-01 21:24:54 +01:00
Greg Holland
fef40329a4 Add a config option for a default sandbox accept header 2012-12-11 17:59:03 -08:00
Jordi Boggiano
28f059fff0 Merge pull request #86 from vslinko/allow-to-disable-inline-doc
Make request listener configurable
2012-10-19 01:05:37 -07:00
Vyacheslav Slinko
ffd9feb797 Improved request_listener configuration 2012-10-17 18:44:14 +04:00
Vyacheslav Slinko
aa70018abe Make documentation on demand configurable 2012-10-17 17:12:36 +04:00
Vyacheslav Slinko
52df5ebf47 Allow to configure default request format 2012-10-17 15:27:20 +04:00
Vyacheslav Slinko
3540bcfcd8 Make response format more configurable 2012-10-17 15:15:35 +04:00
Vyacheslav Slinko
f25c2f1eeb Simplify enum nodes 2012-10-17 05:12:47 +04:00
Vyacheslav Slinko
8e03ef99fa Make JSON declaration method configurable 2012-10-16 23:41:16 +04:00
Alexander
fc5b8c4e63 Add optional api_key parameter to sandbox 2012-08-23 16:53:08 +02:00
William DURAND
bee518f92e Allow to disable the sandbox, refactor the configuration. Fix #37 2012-07-18 13:21:31 +02:00
kphoen
e6438d657f Add: sandbox, to easily try API methods 2012-06-27 09:45:06 +02:00
Christophe Coevoet
04b075736f Applied some php-cs-fixer magic 2012-05-23 00:42:59 +02:00
Jordi Boggiano
a74520057a Add license 2012-04-13 11:03:05 +02:00
William DURAND
ad5aa7c0f1 Fixed incorrect namespaces 2012-04-13 10:05:32 +02:00
William DURAND
d7f6d665f6 Added a config parameter to set the API name in the HTML documentation 2012-04-12 20:34:19 +02:00