Generates documentation for your REST API from annotations
Find a file
neFAST 92790b1d28 FIX #1428 Make sure FormInterfaceConfig has a 'documentation' option … (#1429)
* FIX #1428 Make sure FormInterfaceConfig has a 'documentation' option before getting it

FIX #1428

* adding SubmitType to Tests

* Update UserType.php

* Update UserType.php

* Update FunctionalTest.php

* Update FunctionalTest.php

* removed check to see how unit test handles this

* Add test back

* Cs
2019-03-07 08:48:56 +01:00
Annotation add a way to filter areas on route by annotation 2019-02-05 22:43:18 +01:00
Controller Add areas support (#1169) 2018-01-05 13:08:02 +01:00
DependencyInjection Merge pull request #1460 from babaorum/areas-in-annotation 2019-02-13 19:32:19 +01:00
Describer Fix #1462 by allowing all supported implementations of NormalizerInterface in ApiPlatformDescriber 2019-01-11 16:54:58 +01:00
Form/Extension Add implementation of FormTypeExtensionInterface::getExtendedTypes (#1453) 2019-01-25 18:25:46 +01:00
Model Fix alternative names issue 2018-11-04 12:24:45 +01:00
ModelDescriber FIX #1428 Make sure FormInterfaceConfig has a 'documentation' option … (#1429) 2019-03-07 08:48:56 +01:00
Resources Fix for missing basePath 2019-02-27 16:54:49 +02:00
RouteDescriber Respect the spec in the FosRestDescriber (#1390) 2018-08-30 00:41:53 +02:00
Routing add a way to filter areas on route by annotation 2019-02-05 22:43:18 +01:00
SwaggerPhp Support `@Model` in in-object annotations 2018-03-22 19:14:01 +01:00
Tests FIX #1428 Make sure FormInterfaceConfig has a 'documentation' option … (#1429) 2019-03-07 08:48:56 +01:00
Util add a way to filter areas on route by annotation 2019-02-05 22:43:18 +01:00
.gitignore Fix the tests 2017-03-15 13:38:23 +01:00
.php_cs.dist Allow implicit operations with SwaggerPhp annotations 2017-01-08 12:12:43 +01:00
.styleci.yml Add areas support (#1169) 2018-01-05 13:08:02 +01:00
.travis.yml test low deps on 7.2 2019-01-26 20:55:52 +01:00
ApiDocGenerator.php Implement alternative naming system via configuration (#1312) 2018-06-10 09:56:38 +02:00
CHANGELOG.md Customizable template and remove Google Fonts (#1357) 2018-07-16 09:45:18 +02:00
composer.json add hateoas v3 compat 2019-01-26 20:55:52 +01:00
CONTRIBUTING.md Document the bundle 2017-05-13 17:21:28 +02:00
LICENSE Change the vendor to "Nelmio" 2016-12-29 12:09:26 +01:00
NelmioApiDocBundle.php Add areas support (#1169) 2018-01-05 13:08:02 +01:00
phpunit Update PHPUnit to 6.5 and allow newer version of PHPUnit Bridge 2018-05-28 13:58:42 +02:00
phpunit.xml.dist Update travis config (#1117) 2017-11-27 14:40:22 +01:00
README.md Fixes 2018-01-04 17:47:47 +01:00
update-js.sh Include map files 2017-06-22 21:22:10 +02:00
UPGRADE-3.0.md Merge pull request #1264 from adeelnawaz/master 2018-03-24 09:34:31 +01: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, just 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
composer update

Then run the test suite:

./phpunit

License

This bundle is released under the MIT license.