Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
howyi committed Sep 3, 2017
1 parent e9f5913 commit 37d2cab
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,11 @@ $collection = \Lamb\CollectionStructureFactory::fromDir();

dump(\Lamb\Converter\ApiBlueprint::document($collection));
```

## Generate RAML document
```php
$collection = \Lamb\CollectionStructureFactory::fromDir();
$environment = \Lamb\EnvironmentStructureFactory::fromDir();

dump(\Lamb\Converter\Raml::document($collection, $environment, 'your_env'));
```

0 comments on commit 37d2cab

Please sign in to comment.