Skip to content

Commit bdc2409

Browse files
committed
Add content to How to run Bow OpenAPI
1 parent e5c5739 commit bdc2409

File tree

1 file changed

+11
-0
lines changed
  • Documentation.app/Contents/MacOS/Quick start.playground/Pages/How to run Bow OpenAPI.xcplaygroundpage

1 file changed

+11
-0
lines changed

Documentation.app/Contents/MacOS/Quick start.playground/Pages/How to run Bow OpenAPI.xcplaygroundpage/Contents.swift

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,15 @@
77
/*:
88
# How to run Bow OpenAPI
99

10+
Bow OpenAPI runs from your terminal with the following command:
11+
12+
```bash
13+
$> bow-openapi --name NetworkClient --schema API.json --output OutputFolder
14+
```
15+
16+
Where:
17+
18+
- `--name`: Name of the resulting Swift package to be consumed from Swift Package Manager.
19+
- `--schema`: Path to a JSON or YAML file containing the OpenAPI / Swagger description of your endpoints.
20+
- `--output`: Path to the folder where the tool will write the generated files.
1021
*/

0 commit comments

Comments
 (0)