File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -56,28 +56,31 @@ The converter can be used as a CLI tool as well. The following [command line opt
56
56
57
57
### Options
58
58
59
- - ` -s <source> ` , ` --spec <source> `
59
+ - ` -s <source> ` , ` --spec <source> `
60
60
Used to specify the OpenAPI specification (file path) which is to be converted
61
61
62
- - ` -o <destination> ` , ` --output <destination> `
62
+ - ` -o <destination> ` , ` --output <destination> `
63
63
Used to specify the destination file in which the collection is to be written
64
64
65
- - ` -p ` , ` --pretty `
65
+ - ` -p ` , ` --pretty `
66
66
Used to pretty print the collection object while writing to a file
67
67
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 `
69
72
Used to supply options to the converter, for complete options details see [ here] ( /OPTIONS.md )
70
73
71
- - ` -c ` , ` --options-config `
74
+ - ` -c ` , ` --options-config `
72
75
Used to supply options to the converter through config file, for complete options details see [ here] ( /OPTIONS.md )
73
76
74
- - ` -t ` , ` --test `
77
+ - ` -t ` , ` --test `
75
78
Used to test the collection with an in-built sample specification
76
79
77
- - ` -v ` , ` --version `
80
+ - ` -v ` , ` --version `
78
81
Specifies the version of the converter
79
82
80
- - ` -h ` , ` --help `
83
+ - ` -h ` , ` --help `
81
84
Specifies all the options along with a few usage examples on the terminal
82
85
83
86
You can’t perform that action at this time.
0 commit comments