noma-solutions/api-doc-bundle

Enhanced version of NelmioApiDoc that generates documentation for your REST API from annotations

Installs: 1 274

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 766

Type:symfony-bundle

v4.1.0 2020-12-10 22:00 UTC

README

About our Fork

Disclaimer: This is fork of nelmio/NelmioApiDocBundle created for our internal use.

First of all we needed to change the mechanism behind model registration so the JMS model hash won't be created based on groups and FQCN but on fields list.

Let's find out if we can manage to do this :)

Introduction

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.