From 3f897edadde853df70b3ed46661a428858036d1e Mon Sep 17 00:00:00 2001 From: Joel Wurtz Date: Tue, 26 Jan 2016 23:00:18 +0100 Subject: [PATCH] Missing filename in the command usage --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 05e7bbf..26c12bd 100644 --- a/README.md +++ b/README.md @@ -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;