156 Commits

Author SHA1 Message Date
Guilhem N
61cda0161c
Merge pull request #1261 from nelmio/model
Support @Model through `ref`
2018-03-22 19:05:23 +01:00
Guilhem Niot
9bf00b5196 Support @Model through ref 2018-03-22 18:37:29 +01:00
Javier Spagnoletti
c8be7ebf15 [Documentation] Add some examples about undocumented properties and annotations 2018-03-19 14:44:15 -03:00
Javier Spagnoletti
ec851ca65c Allow to filter routes by host (#1121) 2018-03-17 10:37:54 -03:00
Guilhem N
37dfb8ef0d Document how to customize models documentation (#1237) 2018-02-20 09:59:00 +01:00
Guilhem N
37efa7228b
Add a documentation form extension (#1234)
* Adding format and example extensions. Getting child type better for collections

Fixing copyrights

Fixing style issues

Fixing style issues

Fixing style issues

* Adding DocumentationExtension

* Adding error for invalid properties

* Reverting switch

* Missing entity break

* Removing unecessary doc

* Removing unecessary method

* Style change

* Adding break for number, integer, and text types

* Extracts the documentation form extension
2018-02-19 10:56:51 +01:00
Roman Borysenko
c048adf7b7 Update index.rst (#1223)
* Update index.rst

* Create faq.rst

Frequently Asked Questions added

* Update faq.rst

* Update index.rst

Comment removed

* Update index.rst

* Update index.rst

* Update index.rst

* Update index.rst

* Update index.rst
2018-02-13 17:13:09 +01:00
Guilhem N
5b574e883f
Fix Api-Platform support 2018-02-13 08:49:43 +01: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
Michelle Sanver
7d01a420fa Made nelmio_api_doc.generator a public service
The service was not defined public or private, which threw deprecation notices in the tests where we use it from the container. It is now declared public explicitly to not have deprecations.
2018-01-15 17:05:34 +01:00
Guilhem N
f0baf35856
Update Swagger Ui (#1187) 2018-01-13 14:18:32 +01:00
Guilhem N
4d95dde523
Make the docs clearer about models (#1185)
* Make the docs clearer about models

* Fixes
2018-01-13 13:21:23 +01:00
Guilhem N
c89ca38496
Several doc fixes 2018-01-10 14:45:02 +01:00
Guilhem N
605cc84a3f
Fix links 2018-01-09 13:22:28 +01:00
Guilhem N
43dbc10137
Fix links 2018-01-09 12:58:52 +01:00
David Buchmann
c30fb4c984
Provide example for action summary and description 2018-01-09 10:31:38 +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
108687ec8e Fixes 2018-01-04 17:47:47 +01:00
Guilhem Niot
044935aff8 Rework the docs 2018-01-04 14:33:02 +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
9f2436dce3 fix tests 2017-10-22 11:48:33 +02:00
Guilhem Niot
2b95b1bd0f Merge pull request #1049 from HaraldVelner/master
Add missing svg definitions for icons
2017-08-23 23:21:46 +02:00
Harald Velner
287cecda39 Add svg icons definitions to index.html.twig 2017-08-07 13:49:38 +02:00
Guilhem Niot
eeeab29ec9 Execute the CollectionModelDescriber earlier 2017-08-01 22:13:01 +02:00
Harald Velner
bce6fd8c83 Add missing svg definitions for icons 2017-07-31 12:42:05 +02:00
Guilhem Niot
bb14c85179 Merge pull request #1035 from nelmio/basepath
Use request base url
2017-07-25 11:26:14 +02:00
Guilhem Niot
1fb8371e80 Add DateTime support 2017-07-25 10:31:23 +02:00
Guilhem Niot
0b05a23625 Use request base url 2017-07-05 15:43:15 +02:00
Guilhem Niot
c7367d6644 Add a controller exposing the documentation in json 2017-06-26 11:32:23 +02:00
Guilhem Niot
47620f606a Port UI updates from Api-Platform 2017-06-22 23:09:05 +02:00
Guilhem Niot
f1c16dc583 Include css map 2017-06-22 22:41:44 +02:00
Guilhem Niot
0bd45e6486 Fix an issue caused by #1007 2017-06-22 22:30:56 +02:00
Guilhem Niot
aefdca965e Include map files 2017-06-22 21:22:10 +02:00
Guilhem Niot
39eda091c1 Update Swagger-ui 2017-06-02 21:37:33 +02:00
Guilhem Niot
18eec11ab0 Merge pull request #948 from nelmio/SWAGGERUI
[3.0] Add Swagger-ui support
2017-05-13 11:57:42 +00:00
Guilhem N
260a2689a6 Add Swagger-ui support 2017-05-13 13:55:13 +02:00
Guilhem Niot
ebe2bdf4d6
Get ride of Swagger-Php parser 2017-03-16 19:52:18 +01:00
Guilhem Niot
8ab1b996b3
Filter routes used by the SwaggerDescriber 2017-03-15 14:00:39 +01:00
Guilhem N
cde91cc38c Merge branch 'dev' into CONFIG 2017-02-07 19:14:35 +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
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
c797269bef
Change the vendor to "Nelmio" 2016-12-29 12:09:26 +01:00
Guilhem N
3364bf3af3
Allow to filter routes based on their path 2016-11-30 14:54:04 +01:00
Ener-Getick
cbd0b453ce
Register the FOSRestDescriber 2016-08-04 22:34:46 +02:00
Ener-Getick
ffda7801f6
Add FOSRestBundle support 2016-08-04 22:27:10 +02:00