Skip to content

Commit 9571cfd

Browse files
authored
Merge pull request #859 from postmanlabs/release/v5.0.2
Release version v5.0.2
2 parents 222e3c8 + e633884 commit 9571cfd

4 files changed

Lines changed: 15 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [Unreleased]
44

5+
## [v5.0.2] - 2025-08-25
6+
57
## [v5.0.1] - 2025-07-22
68

79
## [v5.0.0] - 2025-03-07
@@ -657,7 +659,9 @@ Newer releases follow the [Keep a Changelog](https://keepachangelog.com/en/1.0.0
657659

658660
- Base release
659661

660-
[Unreleased]: https://github.com/postmanlabs/openapi-to-postman/compare/v5.0.1...HEAD
662+
[Unreleased]: https://github.com/postmanlabs/openapi-to-postman/compare/v5.0.2...HEAD
663+
664+
[v5.0.2]: https://github.com/postmanlabs/openapi-to-postman/compare/v5.0.1...v5.0.2
661665

662666
[v5.0.1]: https://github.com/postmanlabs/openapi-to-postman/compare/v5.0.0...v5.0.1
663667

assets/json-schema-faker.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24547,7 +24547,12 @@ function extend() {
2454724547
* @returns {string}
2454824548
*/
2454924549
function thunkGenerator(min, max) {
24550-
if (min === void 0) { min = 0; }
24550+
// For properties of type string without any specified examples or detailed properties,
24551+
// we want the generated value to be called "string".
24552+
// Hence our wordsGenerator returns a fixed array of ['string']. To help with the same,
24553+
// we set the fallback min length value as "6" since we don't want the value to be
24554+
// "strin", "st", "s" etc.
24555+
if (min === void 0) { min = 6; }
2455124556
if (max === void 0) { max = 140; }
2455224557
var min = Math.max(0, min), max = random.number(min, max), result = produce();
2455324558
// append until length is reached
@@ -24629,7 +24634,7 @@ function extend() {
2462924634
'json-pointer': `(/(?:${FRAGMENT.replace(']*', '/]*')}|~[01]))+`,
2463024635

2463124636
// some types from https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#data-types (?)
24632-
uuid: '^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$',
24637+
uuid: '^[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$',
2463324638
};
2463424639

2463524640
regexps.iri = regexps['uri-reference'];

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openapi-to-postmanv2",
3-
"version": "5.0.1",
3+
"version": "5.0.2",
44
"description": "Convert a given OpenAPI specification to Postman Collection v2.0",
55
"homepage": "https://github.com/postmanlabs/openapi-to-postman",
66
"bugs": "https://github.com/postmanlabs/openapi-to-postman/issues",

0 commit comments

Comments
 (0)