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: CHANGELOG.md
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,19 @@
1
1
# OpenAPI-Postman Changelog
2
2
3
+
#### v4.6.0 (December 30, 2022)
4
+
* Fixed issue where bundling of multi-file definition was not working correctly for more than 10 params correctly.
5
+
* Fixed issue where request name was not using operation description if available.
6
+
7
+
#### v4.5.0 (December 23, 2022)
8
+
* Fixed issue [#11519](https://github.com/postmanlabs/postman-app-support/issues/11519) Collection generated from imported OpenAPI were missing certain properties.
9
+
* Fixed issue [#11227](https://github.com/postmanlabs/postman-app-support/issues/11227) Collection generated produces incorrect XML requests and responses from Open API 3.0 and Swagger 2.0 API definitions.
10
+
* Fixed issue [#11527](https://github.com/postmanlabs/postman-app-support/issues/11527) where generated collection contained empty body when */* was used as content-type.
11
+
* Fixed issue [#626](https://github.com/postmanlabs/openapi-to-postman/issues/626) - Add a new option (includeDeprecated) to handle deprecated properties (operations, parameters, or schema properties).
12
+
* Fixed issue [#643](https://github.com/postmanlabs/openapi-to-postman/issues/643) Generated value for corresponding authorization should be an environment value.
13
+
* Removed travis workflows as GitHub actions are present now.
14
+
* Updated README.md to include Swagger 2.0 and OpenAPI 3.1 support.
15
+
* Updated README.md to include new postman logo.
16
+
3
17
#### v4.4.0 (November 29, 2022)
4
18
* Fixed issue where collection folder name for paths were having extra spaces.
5
19
* Fixed issue where pipelines were failing for certain node version.
requestNameSource|enum|URL, Fallback|Fallback|Determines how the requests inside the generated collection will be named. If “Fallback” is selected, the request will be named after one of the following schema values: `description`, `operationid`, `url`.|CONVERSION, VALIDATION
3
+
requestNameSource|enum|URL, Fallback|Fallback|Determines how the requests inside the generated collection will be named. If “Fallback” is selected, the request will be named after one of the following schema values: `summary`, `operationId`, `description`, `url`.|CONVERSION, VALIDATION
4
4
indentCharacter|enum|Space, Tab|Space|Option for setting indentation character|CONVERSION
5
5
collapseFolders|boolean|-|true|Importing will collapse all folders that have only one child element and lack persistent folder-level data.|CONVERSION
6
6
optimizeConversion|boolean|-|true|Optimizes conversion for large specification, disabling this option might affect the performance of conversion.|CONVERSION
@@ -23,3 +23,4 @@ disableOptionalParameters|boolean|-|false|Whether to set optional parameters as
23
23
keepImplicitHeaders|boolean|-|false|Whether to keep implicit headers from the OpenAPI specification, which are removed by default.|CONVERSION
24
24
includeWebhooks|boolean|-|false|Select whether to include Webhooks in the generated collection|CONVERSION
25
25
includeReferenceMap|boolean|-|false|Whether or not to include reference map or not as part of output|BUNDLE
26
+
includeDeprecated|boolean|-|true|Select whether to include deprecated operations, parameters, and properties in generated collection or not|CONVERSION, VALIDATION
2.[Using the converter as a NodeJS module](#using-the-converter-as-a-nodejs-module)
17
+
2.[Command Line Interface](#command-line-interface)
18
+
1.[Options](#options)
19
+
2.[Usage](#usage)
20
+
3.[Using the converter as a NodeJS module](#using-the-converter-as-a-nodejs-module)
18
21
1.[Convert Function](#convert)
19
22
2.[Options](#options)
20
23
3.[ConversionResult](#conversionresult)
21
24
4.[Sample usage](#sample-usage)
22
25
5.[Validate function](#validate-function)
23
-
3.[Command Line Interface](#command-line-interface)
24
-
1.[Options](#options)
25
-
2.[Usage](#usage)
26
26
4.[Conversion Schema](#conversion-schema)
27
27
28
28
---
29
29
30
-
## Getting Started
30
+
---
31
+
32
+
### 🚀 We now also support OpenAPI 3.1 and Swagger 2.0 along with OpenAPI 3.0.
33
+
---
34
+
---
35
+
36
+
## 💭 Getting Started
31
37
32
38
To use the converter as a Node module, you need to have a copy of the NodeJS runtime. The easiest way to do this is through npm. If you have NodeJS installed you have npm installed as well.
33
39
@@ -41,7 +47,64 @@ If you want to use the converter in the CLI, install it globally with NPM:
41
47
$ npm i -g openapi-to-postmanv2
42
48
```
43
49
44
-
## Using the converter as a NodeJS module
50
+
51
+
## 📖 Command Line Interface
52
+
53
+
The converter can be used as a CLI tool as well. The following [command line options](#options) are available.
54
+
55
+
`openapi2postmanv2 [options]`
56
+
57
+
### Options
58
+
59
+
-`-s <source>`, `--spec <source>`
60
+
Used to specify the OpenAPI specification (file path) which is to be converted
61
+
62
+
-`-o <destination>`, `--output <destination>`
63
+
Used to specify the destination file in which the collection is to be written
64
+
65
+
-`-p`, `--pretty`
66
+
Used to pretty print the collection object while writing to a file
67
+
68
+
-`-O`, `--options`
69
+
Used to supply options to the converter, for complete options details see [here](/OPTIONS.md)
70
+
71
+
-`-c`, `--options-config`
72
+
Used to supply options to the converter through config file, for complete options details see [here](/OPTIONS.md)
73
+
74
+
-`-t`, `--test`
75
+
Used to test the collection with an in-built sample specification
76
+
77
+
-`-v`, `--version`
78
+
Specifies the version of the converter
79
+
80
+
-`-h`, `--help`
81
+
Specifies all the options along with a few usage examples on the terminal
82
+
83
+
84
+
### Usage
85
+
86
+
- Takes a specification (spec.yaml) as an input and writes to a file (collection.json) with pretty printing and using provided options
- Takes a specification (spec.yaml) as an input and writes to a file (collection.json) with pretty printing and using provided options (Also avoids any `"<Error: Too many levels of nesting to fake this schema>"` kind of errors present in converted collection)
- Takes a specification (spec.yaml) as an input and writes to a file (collection.json) with pretty printing and using provided options (Also avoids any `"<Error: Too many levels of nesting to fake this schema>"` kind of errors present in converted collection)
0 commit comments