20 Commits

Author SHA1 Message Date
Vitaliy Chesnokov
cd87930d29
Check the version in methods response 2019-04-25 21:50:32 +03:00
Vitaliy Chesnokov
c6fa1e893e
Locale setting for the Translator 2019-04-25 21:50:32 +03:00
Vitaliy Chesnokov
1c4f003e76
Doc generation for the specific API version 2019-04-25 21:50:28 +03:00
Alexander Kustov
8f9d096448 Add description for the dump command 2016-10-26 10:15:13 +05:00
gmarchal
05d3a51259 Usage of OUTPUT_RAW to avoid javascript syntax error when dumping HTML API doc. Fixes issue #864. 2016-06-10 10:47:43 +02:00
Fred Cox
9b734b22bd Remove incorrect usage of hasOption
`hasOption` is confusingly named, it actually checks that the option has been created, not if the user has passed the option. So in this case its always true.
Also changed a weird usage of `in_array`.
2016-01-29 10:56:25 +02:00
Patrick Pokatilo
8c336487e7 Check for deprecated method enterScope() in DumpCommand 2015-12-15 17:04:17 +01:00
Mikhail Shamin
1a92a112bc Added view option to api:doc:dump command 2015-05-26 18:09:29 +07:00
William Durand
0a1cef77ad
cs 2015-03-06 11:19:08 +01:00
Bez Hermoso
0e01a00aaf Behavior and usage updates. 2014-08-01 12:56:46 -07:00
Bez Hermoso
ea41c41c7c Swagger command updates. 2014-07-31 12:12:23 -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
rajasaur
9eee2e263f Fix DumpCommand to generate html with/out sandbox
api:doc:dump --format=html always disables the Sandbox since the check in
DumpCommand seems to be wrong. Fixed that as well as introduce a dummy
Request Object as the layout.html.twig expects an app.request object.
2013-12-06 15:28:19 +05:30
William DURAND
374ee9a878 Add new option to the command line: --no-sandbox 2012-07-18 16:51:53 +02:00
Jordi Boggiano
a74520057a Add license 2012-04-13 11:03:05 +02:00
William DURAND
5bd05379ec Fixed naming 2012-04-12 19:10:16 +02:00
William DURAND
f172e74db7 Renamed the bundle 2012-04-12 18:37:42 +02:00
William DURAND
6285ecebb0 [ApiBundle] Added more comments 2012-04-12 17:48:21 +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
William DURAND
6fc0d8619e Added a command line to dump the whole documentation in markdown or json 2012-04-12 01:42:52 +02:00