Adir Kuhn 71f0cfddcb
Supports reflection for routes configured in PHP files. (#1701)
By default the PHP configuration routes returns an array with the controller name and method, since the reflection class was typed for string only this was causing an exception when the user was not using YAML or XML configuration.
This changes removes the string type hint from the method and checks if it's an array or string to do the reflection.

Co-authored-by: Adir Kuhn <adir@123inkt.nl>
2020-08-11 16:46:05 +02:00
2019-11-21 08:53:58 +01:00
2020-08-06 10:26:59 +02:00
2019-11-29 13:59:27 +01:00
2020-08-06 10:26:59 +02:00
2020-07-24 16:57:39 +02:00
2020-08-06 10:26:59 +02:00
2020-04-21 23:47:33 +02:00
2020-08-06 10:26:59 +02:00
2019-11-20 12:15:00 +01:00
2019-11-20 12:15:00 +01:00
2020-08-06 10:25:35 +02:00
2020-07-24 15:45:52 +02:00
2016-12-29 12:09:26 +01:00
2019-11-29 13:59:27 +01:00
2020-07-24 16:58:58 +02:00
2017-06-22 21:22:10 +02:00

NelmioApiDocBundle

Build
Status Total Downloads Latest Stable
Version

The NelmioApiDocBundle bundle allows you to generate a decent documentation for your APIs.

Migrate from 2.x to 3.0

To migrate from 2.x to 3.0, follow our guide.

Installation

Open a command console, enter your project directory and execute the following command to download the latest version of this bundle:

composer require nelmio/api-doc-bundle

Documentation

Read the documentation on symfony.com

Contributing

See CONTRIBUTING file.

Running the Tests

Install the Composer dependencies:

git clone https://github.com/nelmio/NelmioApiDocBundle.git
cd NelmioApiDocBundle
git checkout 3.x
composer update

Then run the test suite:

./phpunit

License

This bundle is released under the MIT license.

Description
Generates documentation for your REST API from annotations
Readme 17 MiB
Languages
PHP 86.4%
Twig 11%
CSS 2.5%