File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -11,20 +11,16 @@ 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
15
-
16
- yarn global add @api-platform/client-generator
17
-
18
14
## Usage
19
15
20
16
** Hydra**
21
17
``` sh
22
- generate- api-platform- client https://demo.api-platform.com/ output/ --resource Book
18
+ npx @ api-platform/ client-generator https://demo.api-platform.com/ output/ --resource Book
23
19
```
24
20
25
21
** OpenAPI** (experimental)
26
22
``` sh
27
- generate- api-platform- client https://demo.api-platform.com/docs.json output/ --resource Book --format swagger
23
+ npx @ api-platform/ client-generator https://demo.api-platform.com/docs.json output/ --resource Book --format swagger
28
24
```
29
25
30
26
## Features
You can’t perform that action at this time.
0 commit comments