mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-04-08 11:42:07 +00:00
Generates documentation for your REST API from annotations
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. Ignore data_class and always use form-type to avoid conflicts. Quick fix. |
||
---|---|---|
Annotation | ||
Command | ||
Controller | ||
DependencyInjection | ||
EventListener | ||
Extractor | ||
Form/Extension | ||
Formatter | ||
Parser | ||
Resources | ||
Tests | ||
Twig/Extension | ||
Util | ||
.gitignore | ||
.travis.yml | ||
composer.json | ||
CONTRIBUTING.md | ||
DataTypes.php | ||
NelmioApiDocBundle.php | ||
phpunit.xml.dist | ||
README.md |
NelmioApiDocBundle
The NelmioApiDocBundle bundle allows you to generate a decent documentation for your APIs.
Important: This bundle is developed in sync with symfony's
repository.
For Symfony 2.0.x
, you need to use the 1.*
version of the bundle.
Documentation
For documentation, see:
Resources/doc/
Contributing
See CONTRIBUTING file.
Running the Tests
Install the Composer dev
dependencies:
php composer.phar install --dev
Then, run the test suite using PHPUnit:
phpunit
Credits
The design is heavily inspired by the swagger-ui project. Some icons from the Glyphicons library are used to render the documentation.
License
This bundle is released under the MIT license. See the complete license in the bundle:
Resources/meta/LICENSE