Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## [Unreleased]

## [v5.0.2] - 2025-08-25

## [v5.0.1] - 2025-07-22

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

- Base release

[Unreleased]: https://github.com/postmanlabs/openapi-to-postman/compare/v5.0.1...HEAD
[Unreleased]: https://github.com/postmanlabs/openapi-to-postman/compare/v5.0.2...HEAD

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

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

Expand Down
9 changes: 7 additions & 2 deletions assets/json-schema-faker.js
Original file line number Diff line number Diff line change
Expand Up @@ -24547,7 +24547,12 @@ function extend() {
* @returns {string}
*/
function thunkGenerator(min, max) {
if (min === void 0) { min = 0; }
// For properties of type string without any specified examples or detailed properties,
// we want the generated value to be called "string".
// Hence our wordsGenerator returns a fixed array of ['string']. To help with the same,
// we set the fallback min length value as "6" since we don't want the value to be
// "strin", "st", "s" etc.
if (min === void 0) { min = 6; }
if (max === void 0) { max = 140; }
var min = Math.max(0, min), max = random.number(min, max), result = produce();
// append until length is reached
Expand Down Expand Up @@ -24629,7 +24634,7 @@ function extend() {
'json-pointer': `(/(?:${FRAGMENT.replace(']*', '/]*')}|~[01]))+`,

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

regexps.iri = regexps['uri-reference'];
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openapi-to-postmanv2",
"version": "5.0.1",
"version": "5.0.2",
"description": "Convert a given OpenAPI specification to Postman Collection v2.0",
"homepage": "https://github.com/postmanlabs/openapi-to-postman",
"bugs": "https://github.com/postmanlabs/openapi-to-postman/issues",
Expand Down
Loading