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
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
Tim Nagel
c366ffba84
Fix ValidatorParser in symfony 2.5
...
Fixes #373
2014-04-30 22:18:06 +10: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
William DURAND
be130a2d10
Fix incompatibility with Symfony2 2.1
...
All credits go to @restyler
See: https://github.com/nelmio/NelmioApiDocBundle/pull/237
Closes : #231
Replaces: #237
2013-11-14 11:00:44 +01:00
William Durand
f91a0868a8
Merge pull request #247 from domnikl/xsd
...
add XML namespace and XSD
2013-11-14 01:51:01 -08:00
William DURAND
d7fd929379
Fix CS
2013-11-14 10:33:57 +01:00
Jordi Boggiano
ecc4fb9897
Keep order of loaders, fixes #265 build
2013-10-29 14:41:03 +01:00
Tobias Schultze
09e82fa6d3
make form and validation extractors optional
2013-10-28 19:12:43 +01:00
Dominik Liebler
7f8a4d4b59
added XML namespace and XSD
2013-09-21 23:35:53 +02: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
William Durand
08eebf0fa0
Merge pull request #177 from fvilpoix/annotation_handlers
...
Moving annotation extraction into tagged Handlers
2013-04-17 15:21:31 -07:00
fvilpoix
7f79ddc065
[ExtractorHandler] cleaning code
2013-04-17 13:41:28 +02:00
fvilpoix
76b85938c6
implementing all stof comments :)
2013-04-16 16:00:46 +02:00
fvilpoix
63b0f8e4da
Moving annotation extraction into tagged Handlers
2013-04-12 17:43:27 +02: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
William Durand
6795e118ae
Merge pull request #64 from asm89/sandbox-api-key
...
Add optional api_key parameter to sandbox
2012-08-23 08:24:33 -07:00
Alexander
fc5b8c4e63
Add optional api_key parameter to sandbox
2012-08-23 16:53:08 +02:00
Evan Villemez
1cf7e18d61
fixed README, other minor things
2012-08-08 10:21:56 -04:00
Evan Villemez
68767f6c72
fixed cs
2012-08-07 21:57:36 -04:00
Evan Villemez
149f282481
tests passing with JmsMetadataParser, but work still to do on required and description properties
2012-08-07 21:47:33 -04:00
Evan Villemez
b71bc8bf3f
started on implementing JmsMetadataParser and tests
2012-08-07 17:50:58 -04:00
Evan Villemez
89f2044581
fixed compiler pass, updated README
2012-07-24 14:39:43 -04:00
Evan Villemez
b9e8d61082
changed inputClass to input, refactored method and class names accordingly, fixed cs in several places
2012-07-23 15:44:37 -04:00
Evan Villemez
06e3a2256b
added a ParserInterface, refactored how Parsers are registered in the ApiDocExtractor, changed formType to inputClass in ApiDocExtractor
2012-07-23 12:54:56 -04: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
William DURAND
461c716238
Renamed missing classes
2012-04-12 18:40:20 +02:00
William DURAND
f172e74db7
Renamed the bundle
2012-04-12 18:37:42 +02:00
William DURAND
c4c7d14354
[ApiBundle] Added a controller to get a complete documentation
...
* Added an Extractor to get the documentation from all annotated
controllers
* Refactored some parts (command, event listener, ...)
2012-04-12 12:50:20 +02:00