Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:jolicode/jane-swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
joelwurtz committed Jan 26, 2016
2 parents 5ea20ee + 3f897ed commit 37eeff8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ The generated code may contain bug or incorrect behavior, use it as a base for y

```
# jane-openapi [schema-path] [namespace] [destination]
php vendor/bin/jane-openapi generate Name\\Space src/Name/Space
php vendor/bin/jane-openapi generate swagger.json Name\\Space src/Name/Space
```

This will generate, in the `src/Name/Space`, a Resource, a Model and a Normalizer directory:
This will generate, in the `src/Name/Space`, a Resource, a Model and a Normalizer directory from the swagger.json file:

* Resource directory will contain all differents resources of the API with their endpoints;
* Model directory will contain all Model used in the API;
Expand Down

0 comments on commit 37eeff8

Please sign in to comment.