Skip to content

Commit d1143af

Browse files
authored
Add the exact docker command for the generator
When using docker the paths differ from the standard command where it is necessary to provide the api/ prefix.
1 parent e57230d commit d1143af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

schema-generator/getting-started.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ types:
5252
Run the generator with this config file as parameter:
5353
5454
$ vendor/bin/schema generate-types api/src/ api/config/schema.yaml
55+
56+
> Using docker: `$ docker-compose exec php vendor/bin/schema generate-types src/ config/schema.yaml`
5557

5658
The following classes will be generated:
5759

0 commit comments

Comments
 (0)