Vishal Shingala
6139a98bb0
Fixed issue where conversion failed with type error if header example was null
2021-10-12 16:40:36 +05:30
Vishal Shingala
79fb1aa2ad
Merge pull request #413 from postmanlabs/issue/379
...
Set param type in request to `file` if schema type is `string` and format is `binary`
2021-10-11 12:38:28 +05:30
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
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
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
2f7e214037
Check for type and format in the original param instead of checking for value after processing
2021-10-04 19:31:55 +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
98f985612b
Set param type in request to 'file' if schema type is 'string' and format is 'binary'
2021-10-04 13:00:58 +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
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
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
7b04195e8d
Fixed issue where genberated collection contained response code as null
2021-09-18 00:22:59 +05:30
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
6af0b8c039
Skip automatic header detection when "keepImplicitHeaders" is active, to prevent duplicate headers.
2021-09-06 14:36:16 +02:00
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
raghav
7dc00a2894
Fixes the value format for apiKey security scheme.
...
The apiKey is applied either in query param or header, currently the
value is a boolean whereas the value in header or query should always be
a string.
2021-07-29 20:00:48 +05:30
thim81
e512bcc383
Merge branch 'postmanlabs:develop' into pr-implicit-headers-option
2021-07-24 17:46:42 +02:00
Vishal Shingala
4c57b5e75a
Fixed issue where description was missing from suggested fix for missing_in_request type of mismatches
2021-07-22 17:05:41 +05:30
Vishal Shingala
13ebc2599e
Added support for validation of deepObject styled parameters
2021-07-15 23:25:58 +05:30
Vishal Shingala
aeeae466e8
Fixed issue where params with style deepObject were only converted to only one level of key-value pair
2021-07-14 16:50:06 +05:30
Tim
2706789cd9
Added option to manage implicit headers
2021-06-30 14:18:08 +02:00
Tim
f7ca6c5fb4
Added option to manage implicit headers
2021-06-29 23:53:19 +02:00
Vishal Shingala
e5039e962e
Fixed all reported type errors
2021-06-23 11:07:20 +05:30
Vishal Shingala
23c2456914
Merge pull request #349 from pcgamer1/no_auth_for_empty_obj
...
Added a check for an empty object for no authorization
2021-05-11 20:46:34 +05:30
Vishal Shingala
a4175720a0
Fixed issue where nested objects present in parameters caused validation mismatches
2021-04-26 19:07:38 +05:30
sarthak_saxena_72
91d5ca55c2
change in the check and added test case
2021-03-31 14:47:44 +05:30
sarthak_saxena_72
6d094504bc
changed type to noauth
2021-03-29 01:10:51 +05:30
sarthak_saxena_72
2bf429c146
fixed lint
2021-03-28 23:32:22 +05:30
sarthak_saxena_72
d5d911c08e
added a check for an empty object in security
2021-03-28 23:18:48 +05:30
Vishal Shingala
fe7a22cff0
Fixed wrongly defined maxLength option for schemaFaker
2021-03-19 15:47:10 +05:30
Vishal Shingala
2a23baf8ee
Fixed issue where certain parameter were not converted to variables in conversion
2021-03-17 20:05:43 +05:30
Vishal Shingala
86627b952c
Merge pull request #344 from postmanlabs/feature/fix-urlencoded-required-properties
...
Fixed issue where non-required params were not disbled for urlencoded body.
2021-03-17 20:01:57 +05:30
Vishal Shingala
168e66ee4c
Updated way required is defined for property
2021-03-17 19:44:39 +05:30
Vishal Shingala
e81e5e8555
Fixed issue where required params were not disbled for urlencoded body
2021-03-16 09:33:12 +05:30
Vishal Shingala
bd3dd588d4
Fixed issue where exmples which had non-truthy value were not present in converted collection
2021-03-15 11:47:25 +05:30
Vishal Shingala
872e3bfcea
Fixed issue where implicit headers generation and validation
2021-03-08 15:56:15 +05:30
Vishal Shingala
90b5d4d3e0
Merge branch 'develop' of github.com:postmanlabs/openapi-to-postman into feature/fix-invalid-path-match
2021-02-19 15:42:58 +05:30
Vishal Shingala
6d55e6bbd4
Merge pull request #335 from postmanlabs/feature/fix-inconsistent-id-usage
...
Fixed incorrect usage of id field in sdk.variable and used key.
2021-02-19 15:36:06 +05:30
Vishal Shingala
757b1a9797
Merge pull request #320 from postmanlabs/feature/other-bodytype-validation
...
Added support for urlencoded body validation.
2021-02-19 12:44:59 +05:30
Vishal Shingala
8017a8a923
Fixed incorrect usage of id field in sdk.variable and used key
2021-02-19 11:07:44 +05:30
Vishal Shingala
f95435749c
Added handling to report missing in collection mismatch only for required properties
2021-02-19 10:34:55 +05:30
Vishal Shingala
245ff95d39
Fixed validation issue where result returned were in incorrect order
2021-02-17 16:47:06 +05:30
Vishal Shingala
3c082c6873
Fixed validation issue where content type header was reported missing even if present
2021-02-17 15:02:25 +05:30