umbrella-anton-kasian / api-doc-bundle
Another view template for the NelmioApiDocBundle that generates documentation for your REST API from annotations
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Language:JavaScript
Type:symfony-bundle
Requires
- php: >=5.4|^7.0
- nelmio/api-doc-bundle: ^2.0|^3.0
This package is not auto-updated.
Last update: 2024-05-04 16:16:02 UTC
README
Another view template for the NelmioApiDocBundle that allows you to generate a decent documentation for your APIs.
Installation
Open a command console, enter your project directory and execute the following command to download the latest version of this bundle:
composer require umbrella-anton-kasian/api-doc-bundle
Add the bundle to your kernel::
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = [
// ...
new Umbrella\ApiDocBundle\UmbrellaApiDocBundle(),
];
// ...
}
}
Add routing:
UmbrellaApiDocBundle:
resource: "@UmbrellaApiDocBundle/Resources/config/routing.yml"
prefix: /api/doc