Skip to content

Commit 952cf91

Browse files
committed
Added support for usage of interface version in CLI conversions with v2 as default
1 parent 5c22baf commit 952cf91

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,28 +56,31 @@ The converter can be used as a CLI tool as well. The following [command line opt
5656

5757
### Options
5858

59-
- `-s <source>`, `--spec <source>`
59+
- `-s <source>`, `--spec <source>`
6060
Used to specify the OpenAPI specification (file path) which is to be converted
6161

62-
- `-o <destination>`, `--output <destination>`
62+
- `-o <destination>`, `--output <destination>`
6363
Used to specify the destination file in which the collection is to be written
6464

65-
- `-p`, `--pretty`
65+
- `-p`, `--pretty`
6666
Used to pretty print the collection object while writing to a file
6767

68-
- `-O`, `--options`
68+
- `-i`, `--interface-version`
69+
Specifies the interface version of the converter to be used. Value can be 'v2' or 'v1'. Default is 'v2'.
70+
71+
- `-O`, `--options`
6972
Used to supply options to the converter, for complete options details see [here](/OPTIONS.md)
7073

71-
- `-c`, `--options-config`
74+
- `-c`, `--options-config`
7275
Used to supply options to the converter through config file, for complete options details see [here](/OPTIONS.md)
7376

74-
- `-t`, `--test`
77+
- `-t`, `--test`
7578
Used to test the collection with an in-built sample specification
7679

77-
- `-v`, `--version`
80+
- `-v`, `--version`
7881
Specifies the version of the converter
7982

80-
- `-h`, `--help`
83+
- `-h`, `--help`
8184
Specifies all the options along with a few usage examples on the terminal
8285

8386

0 commit comments

Comments
 (0)