Skip to content

Commit e882758

Browse files
Add a note about client generator from distribution
1 parent 9073325 commit e882758

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

client-generator/nextjs.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ Install required dependencies:
2828

2929
$ npx @api-platform/client-generator https://demo.api-platform.com . --generator next --resource book
3030
# Replace the URL by the entrypoint of your Hydra-enabled API
31+
# Omit the resource flag to generate files for all resource types exposed by the API.
3132

32-
> Note: Omit the resource flag to generate files for all resource types exposed by the API.
33+
> Note: On the [API Platform distribution](https://github.com/api-platform/api-platform), you can run
34+
> `generate-api-platform-client` instead of `npx @api-platform/client-generator`.
3335
3436
## Starting the Project
3537

0 commit comments

Comments
 (0)