Javier Spagnoletti
ec851ca65c
Allow to filter routes by host ( #1121 )
2018-03-17 10:37:54 -03:00
Guilhem N
f193fdb1f1
Inject the AnnotationsReader in Model describers instead of internal classes ( #1203 )
2018-01-24 19:58:38 +01:00
Robert Gruber
fe9d12772b
Add some missing property attributes for JMS model describer ( #1196 )
...
* Add some missing property attributes for JMS model describer
* Introduce own Swagger definition annotation reader
* Shorten annotation mapping by using merge
2018-01-24 15:20:20 +01:00
Guilhem N
eda4a0a340
Always require phpdocumentor/reflection-docblock ( #1186 )
2018-01-13 14:18:13 +01:00
Guilhem N
b5b0eb1c16
Small fix
2018-01-13 14:12:30 +01:00
Guilhem N
393a6c061e
Add areas support ( #1169 )
...
* Add areas support
* Document the Areas feature
* Allow to expose swagger area as JSON
* Fixes
* last fixes
2018-01-05 13:08:02 +01:00
Guilhem Niot
eb77f3708c
Cleanup
2018-01-04 11:34:23 +01:00
David Buchmann
f4a9ad7ef7
do not fail if phpdocumentor is not available
2017-12-28 10:46:05 +01:00
David Buchmann
75cf1201ed
Apply fixes from StyleCI
2017-12-22 17:42:18 +00:00
Guilhem N
8a57f39d01
Merge pull request #1152 from dbu/jms-php-docblocks
...
parse phpdoc annotations in jms models
2017-12-21 17:12:42 +01:00
Guilhem N
893a7ad518
Enable the FormModelDescriber only if forms are enabled ( #1154 )
...
* Enable the FormModelDescriber only if forms are enabled
* Add a comment
2017-12-19 20:35:10 +01:00
David Buchmann
3fa948aee8
set up DI and add type support
2017-12-19 08:56:35 +01:00
Myroslav
01f691c456
support swagger property annotation to extend description properties of model ( #1125 )
...
* support swagger property annotation to descripe properties of model
* support swagger property annotation to descripe properties of model
* fix issues from PR review
* rename method
* remove redundant annotations and revert changes into composer.json
* fix issues from PR comments
* use symfony 3 for default tests
* revert chages
* use symfony 3 for default tests
* revert changes in travis config
2017-12-03 19:30:44 +01:00
Guilhem Niot
44422d86a0
Remove SwaggerUI controller when TwigBundle is not registered
2017-08-27 17:58:59 +02:00
Christian Schiffler
5c12ff19de
Allow configuration to be split on root key level.
...
We now allow to split the configuration on multiple files, each
containing one of the various root keys of the "documentation" entry.
This means, you may now split "documentation/*" out to own yml files and
import them.
NOTE: this only allows splitting of entries being a direct child of the
documentation entry, so splitting i.e. the info key over multiple files
will not work.
2017-08-08 19:43:01 +02:00
Guilhem Niot
b8479d02e1
Add JMS serializer support
2017-07-25 10:09:41 +02:00
Guilhem Niot
c7367d6644
Add a controller exposing the documentation in json
2017-06-26 11:32:23 +02:00
Guilhem Niot
8eb084908d
Add forms support
2017-06-24 19:54:48 +02:00
Guilhem Niot
0bd45e6486
Fix an issue caused by #1007
2017-06-22 22:30:56 +02:00
Guilhem Niot
ebe2bdf4d6
Get ride of Swagger-Php parser
2017-03-16 19:52:18 +01:00
Guilhem N
cde91cc38c
Merge branch 'dev' into CONFIG
2017-02-07 19:14:35 +01:00
Guilhem N
b85eb00a79
Merge pull request #952 from nelmio/SWAGGER
...
[3.0][SwaggerPhp] Only parse controllers
2017-02-01 17:08:50 +01:00
Guilhem N
645f4f2c1b
Make compiler passes internal
2017-02-01 16:13:49 +01:00
Guilhem N
33274ca4a8
Fix an error when installing NelmioApiDocBundle
2017-01-25 19:38:56 +01:00
Guilhem N
0f2cb3fde2
Add a config option to configure the base of the documentation
2017-01-25 18:53:19 +01:00
Guilhem N
b1d95d966d
[SwaggerPhp] Only parse controllers
2017-01-25 18:44:57 +01:00
Baptiste Lafontaine
92c108839c
Make source folder configurable
2017-01-19 09:43:44 +01:00
Guilhem N
14ae741115
Add models support
2017-01-14 17:36:56 +01:00
Guilhem N
a098f3f4e9
Remove the @ApiDoc
annotation
2017-01-09 12:21:53 +01:00
Guilhem N
1a17a5f5da
Allow implicit operations with SwaggerPhp annotations
2017-01-08 12:12:43 +01:00
Guilhem N
9b677f2ff3
Re-add symfony 2.8 support
2016-12-29 15:31:10 +01:00
Guilhem N
c797269bef
Change the vendor to "Nelmio"
2016-12-29 12:09:26 +01:00
Guilhem N
e221047351
Fix CS
2016-12-01 17:25:53 +01:00
Guilhem N
fd92284b83
Make most classes final
2016-11-30 15:05:57 +01:00
Guilhem N
3364bf3af3
Allow to filter routes based on their path
2016-11-30 14:54:04 +01:00
Ener-Getick
8c71270c66
Update the extension
2016-08-04 22:36:20 +02:00
Ener-Getick
ffda7801f6
Add FOSRestBundle support
2016-08-04 22:27:10 +02:00
Ener-Getick
170249b369
Add ApiPlatform support
2016-07-29 10:22:40 +02:00
Ener-Getick
71f4458085
Use ener-getick/swagger
2016-07-28 10:20:59 +02:00
Ener-Getick
d7c05edffc
Add type hints
2016-07-15 00:40:30 +02:00
Ener-Getick
684eb375ae
Fix cs
2016-07-15 00:04:07 +02:00
Ener-Getick
6770e9e809
Fix CS
2016-07-14 23:52:01 +02:00
Ener-Getick
3490b01d1d
Add php docs support
2016-07-13 23:05:14 +02:00
Ener-Getick
42a2aefb41
Transform in a bundle
2016-07-12 00:33:55 +02:00