Commit Graph

1198 Commits

Author SHA1 Message Date
Vishal Shingala
1a9f554c8f Merge pull request #414 from postmanlabs/feature/fix-example-request-body-content-type
Fix issue where json and xml lanugages were not detected from the example request body content type
2021-10-11 12:35:41 +05:30
diyaeninan
42c895d410 Add tests for example request body explicitly 2021-10-08 12:39:53 +05:30
diyaeninan
00486da3d9 Remove fallback assignment to text language 2021-10-08 12:04:52 +05:30
Ankit Saini
3c439b6d6d Merge pull request #415 from postmanlabs/feature/fix-absent-pathvar-validation
Fixed issue where validation was giving INVALID_TYPE instead of MISSING_IN_REQUEST if path variable is not present in transaction.
2021-10-06 11:15:46 +05:30
Vishal Shingala
a55290b79f Added test for the fixed new added path variable issue 2021-10-05 19:17:57 +05:30
Vishal Shingala
e6b3bb464d Fixed issue where validation was giving INVALID_TYPE instead of MISSING_IN_REQUEST if path variable is not present in transaction 2021-10-05 13:01:39 +05:30
Vishal Shingala
e4b09dfd82 Merge pull request #412 from postmanlabs/issue/382
Handle the case when request body is of type `string` and format `binary`
2021-10-05 11:39:11 +05:30
diyaeninan
f1ea5ece79 Fix issue where json and xml lanugage was not detected from the example request body content type on conversion 2021-10-04 20:07:15 +05:30
Ankit Saini
0cbbe028cd Make sure that request body has 'schema' property before checking for type and format 2021-10-04 13:42:17 +05:30
Ankit Saini
517f5714ee Restore comment 2021-10-03 17:38:49 +05:30
Ankit Saini
1d52cfdca8 Fix failing test 2021-10-03 17:35:13 +05:30
Ankit Saini
733e9735b7 Add unit test 2021-10-01 10:01:38 +05:30
Vishal Shingala
b6c51c1824 Merge pull request #411 from postmanlabs/feature/fix-example-path-variable-conversion
Fixed path variable conversion in collection's examples
2021-09-30 15:23:44 +05:30
Akshay Sharma
1bd7557624 Added proper comment for overriding url variable, removed unwanted assertions from the corresponding test 2021-09-30 12:28:54 +05:30
Ankit Saini
c3382897ea Use 'file' mode if request schema type is 'string' and format is 'binary' 2021-09-30 09:52:24 +05:30
Akshay Sharma
100f2d9b76 Fixed path variable conversion in examples 2021-09-29 16:26:05 +05:30
Vishal Shingala
c3647394fd Merge branch 'release/2.11.0' into develop 2021-09-28 18:47:18 +05:30
Vishal Shingala
3faba3e730 Released v2.11.0 2021-09-28 18:47:18 +05:30
Vishal Shingala
f19aa23be0 Merge pull request #383 from thim81/pr-implicit-headers-option
Added option to manage implicit headers
2021-09-28 18:42:32 +05:30
Vishal Shingala
2718ef1e61 Merge pull request #402 from postmanlabs/snyk-upgrade-ac3d8bec799c3df7efd83309cc4a64c2
[Snyk] Upgrade async from 3.2.0 to 3.2.1
2021-09-28 18:41:27 +05:30
Vishal Shingala
09f8300d94 Merge pull request #404 from thim81/patch-2
Add NPM badges
2021-09-28 18:08:34 +05:30
Vishal Shingala
dcdb948491 Merge pull request #409 from postmanlabs/feature/fix-response-code-null
Fixed issue where genberated collection contained response code as null.
2021-09-28 18:08:01 +05:30
Vishal Shingala
7b04195e8d Fixed issue where genberated collection contained response code as null 2021-09-18 00:22:59 +05:30
thim81
b51d152169 Update README.md 2021-09-13 13:55:10 +02:00
thim81
a8a8bbafb5 Update README.md
Added badges for NPM version & total downloads.

If you land on the Github page of openapi-to-postman, it is confusing to find out what is now the latest version at first glance.
Adding the NPM version badge will make it easier. The total downloads badge indicates how widely used the package is.
2021-09-13 13:51:44 +02:00
Tim
d58e892f55 Skip automatic header detection when "keepImplicitHeaders" is active, to prevent duplicate headers. 2021-09-07 15:43:59 +02:00
Tim
91aaff36d8 Skip automatic header detection when "keepImplicitHeaders" is active, to prevent duplicate headers. 2021-09-07 15:41:37 +02:00
Tim
e4e30d755c Skip automatic header detection when "keepImplicitHeaders" is active, to prevent duplicate headers. 2021-09-07 13:14:14 +02:00
Tim
3420f02049 Skip automatic header addition when "keepImplicitHeaders" is active, to prevent duplicate headers. 2021-09-06 14:49:14 +02:00
Tim
a629c3f31c Added additional tests for "keepImplicitHeaders" option 2021-09-06 14:36:35 +02:00
Tim
6af0b8c039 Skip automatic header detection when "keepImplicitHeaders" is active, to prevent duplicate headers. 2021-09-06 14:36:16 +02:00
snyk-bot
84f8702511 fix: upgrade async from 3.2.0 to 3.2.1
Snyk has created this PR to upgrade async from 3.2.0 to 3.2.1.

See this package in npm:
https://www.npmjs.com/package/async

See this project in Snyk:
https://app.snyk.io/org/postman/project/a5c111c7-1bc9-4d89-849d-6732a81fc539?utm_source=github&utm_medium=upgrade-pr
2021-08-27 20:09:41 +00:00
Tim
081215259e Added option to manage implicit headers 2021-08-20 17:51:29 +02:00
Tim
171f52c109 Fixed incorrect check from "bearer" to "apikey" 2021-08-20 17:41:52 +02:00
Tim
dcf2a3c71e Added tests for IMPLICIT_HEADERS behaviour 2021-08-20 17:36:15 +02:00
Vishal Shingala
717074eb57 Merge branch 'release/2.10.1' into develop 2021-08-18 16:44:15 +05:30
Vishal Shingala
a935fbe4d0 Released v2.10.1 2021-08-18 16:44:15 +05:30
Vishal Shingala
f1177835ec Merge pull request #398 from postmanlabs/feature/stacklimit-option
Added support for stackLimit option to customize schema resolution level.
2021-08-18 16:42:09 +05:30
Vishal Shingala
ef95782d53 Updated system tests with addition of new option stackLimit 2021-08-17 17:36:22 +05:30
Vishal Shingala
2d46525717 Updated readme.md to include usage and description of option 2021-08-17 17:27:47 +05:30
Vishal Shingala
1716c4cdc3 Added support for stackLimit option to customize schema resolution level 2021-08-17 17:11:00 +05:30
Vishal Shingala
8f7a6be09d Merge branch 'release/2.10.0' into develop 2021-08-06 14:22:58 +05:30
Vishal Shingala
4a5933cceb Released v2.10.0 2021-08-06 14:22:58 +05:30
Vishal Shingala
9ee7055e61 Merge pull request #331 from postmanlabs/feature/automate-release-script
Added script for automating release process
2021-08-06 14:18:43 +05:30
Vishal Shingala
0de131c354 Merge pull request #396 from postmanlabs/feature/fix-schema-caching
Fixed issue where invalid cached schemas were being used for resolution.
2021-08-05 19:54:24 +05:30
Vishal Shingala
66df6a3617 Merge pull request #393 from raghavgarg1257/fix/apiKey-securityScheme-value
Fixes the value format for apiKey security scheme.
2021-08-05 19:54:04 +05:30
Vishal Shingala
6832a1de11 Merge pull request #395 from postmanlabs/feature/fix-pmvar-faker
Fixed issue where example values with pm variable syntax were not picked up in conversion.
2021-08-05 19:52:50 +05:30
Vishal Shingala
446ca77444 Added more comments to understand added fields correctly 2021-08-05 14:53:41 +05:30
Vishal Shingala
25b2ee0831 Updated code to be more readable as suggested in comment 2021-08-05 12:26:00 +05:30
Vishal Shingala
a14cc2a4de Merge pull request #388 from postmanlabs/feature/update-dependencies
Updated vulnerable dependencies.
2021-08-05 11:57:02 +05:30