You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,9 +89,8 @@ function (err, result) {
89
89
```
90
90
91
91
### Options:
92
-
*`'schemaFaker'(boolean)`: whether to use json-schema-faker for schema conversion. Default: `true`
93
-
*`'requestNameSource'(string)`: The strategy to use to generate request names. url: use the request's URL as the name, fallback: Use the summary/operationId/URL (in that order) Default: `fallback`
94
-
*`'indentCharacter' (string)`: The character to use per level of indentation for JSON/XML data. Default: `' '(space)`
92
+
93
+
Check out complete list of options and their usage at [OPTIONS.md](/OPTIONS.md)
95
94
96
95
### ConversionResult
97
96
@@ -169,9 +168,12 @@ The converter can be used as a CLI tool as well. The following [command line opt
169
168
-`-p`, `--pretty`
170
169
Used to pretty print the collection object while writing to a file
171
170
172
-
-`-c`, `--config`
171
+
-`-O`, `--options`
173
172
Used to supply options to the converter, for complete options details see [here](/OPTIONS.md)
174
173
174
+
-`-c`, `--options-config`
175
+
Used to supply options to the converter through config file, for complete options details see [here](/OPTIONS.md)
176
+
175
177
-`-h`, `--help`
176
178
Specifies all the options along with a few usage examples on the terminal
177
179
@@ -181,9 +183,9 @@ The converter can be used as a CLI tool as well. The following [command line opt
181
183
**Sample usage examples of the converter CLI**
182
184
183
185
184
-
- Takes a specification (spec.yaml) as an input and writes to a file (collection.json) with pretty printing
186
+
- Takes a specification (spec.yaml) as an input and writes to a file (collection.json) with pretty printing and using provided options
0 commit comments