File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -11,20 +11,20 @@ API Platform Client Generator is a generator to scaffold app with Create-Retriev
11
11
12
12
Works especially well with APIs built with the [ API Platform] ( https://api-platform.com ) framework.
13
13
14
- ## Installation
14
+ ## Documentation
15
15
16
- yarn global add @ api-platform/ client-generator
16
+ The documentation of API Platform's Client Generator can be browsed [ on the official website ] ( https:// api-platform.com/docs/ client-generator) .
17
17
18
18
## Usage
19
19
20
20
** Hydra**
21
21
``` sh
22
- generate- api-platform- client https://demo.api-platform.com/ output/ --resource Book
22
+ npx @ api-platform/ client-generator https://demo.api-platform.com/ output/ --resource Book
23
23
```
24
24
25
25
** OpenAPI** (experimental)
26
26
``` sh
27
- generate- api-platform- client https://demo.api-platform.com/docs.json output/ --resource Book --format swagger
27
+ npx @ api-platform/ client-generator https://demo.api-platform.com/docs.json output/ --resource Book --format swagger
28
28
```
29
29
30
30
## Features
@@ -42,10 +42,6 @@ generate-api-platform-client https://demo.api-platform.com/docs.json output/ --r
42
42
* The generated HTML code is accessible to people with disabilities ([ ARIA] ( https://www.w3.org/WAI/intro/aria ) support)
43
43
* The Redux and the React Router configuration is also generated
44
44
45
- ## Documentation
46
-
47
- The documentation of API Platform's Client Generator can be browsed [ on the official website] ( https://api-platform.com/docs/client-generator ) .
48
-
49
45
## Credits
50
46
51
47
Created by [ Kévin Dunglas] ( https://dunglas.fr ) . Sponsored by [ Les-Tilleuls.coop] ( https://les-tilleuls.coop ) .
You can’t perform that action at this time.
0 commit comments