KnpLabs/KnpJsonSchemaBundle — pull request #2 by gquemener (2012-12-20 21:40:08+00:00)
Title: Introduction of the SchemaController

## Usage
Register the compiler pass in your bundle like so :

```php
$container->addCompilerPass(new Knp\JsonSchemaBundle\DependencyInjection\Compiler\RegisterJsonSchemaCompilerPass($this))
```

Then in your model/entity for which you want to provide a json schema:

```php