Skip to content

Commit 4282d57

Browse files
committed
docs(README): update usage
1 parent 8c6a903 commit 4282d57

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,18 @@ plugins:
1919
- '@nightapes/serverless-openapi'
2020
```
2121
22+
To generate api run
23+
24+
```bash
25+
serverless openapi
26+
```
27+
28+
If you want to change the format (json or yaml) or the file name use
29+
30+
```bash
31+
serverless openapi -o openapi.yaml
32+
```
33+
2234
## Add basic info and tags
2335

2436
Under `custom` add

0 commit comments

Comments
 (0)