Commit Graph

207 Commits

Author SHA1 Message Date
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
Vishal Shingala
373c3aba5f Fixed incorrect transaction path provided in result 2021-02-15 23:25:05 +05:30
Vishal Shingala
8c718247a4 Merge branch 'develop' of github.com:postmanlabs/openapi-to-postman into feature/other-bodytype-validation 2021-02-01 21:56:02 +05:30
Vishal Shingala
c2ec1d416e Merge branch 'develop' into feature/disable-optional-parameters 2021-01-27 22:10:12 +05:30
Vishal Shingala
664c30b6d5 Merge pull request #322 from postmanlabs/feature/fix-incorrect-pathvar-mismatches
Fixed issue where incorrect mismatches were reported for valid path variables.
2021-01-27 16:38:58 +05:30
Vishal Shingala
6dd22d6841 Merge pull request #321 from postmanlabs/feature/fix-wrong-pathvar-index
Fixed issue where validation result contained incorrect path variable indices.
2021-01-25 17:47:37 +05:30
Vishal Shingala
32ec69289d Merge pull request #314 from postmanlabs/feature/fix-explode-params
Fixed incorrect handling for explodable parameters for resolution schema.
2021-01-25 17:45:54 +05:30
Vishal Shingala
9ce60474f8 Merge pull request #317 from postmanlabs/feature/parameter-example-fix
Fixed issue where parameter examples were not used in faked data.
2021-01-25 17:42:23 +05:30
Vishal Shingala
a6f84df31b Fixed validation issue where incorrect mismatches were reported for path variables 2021-01-07 11:49:18 +05:30
Vishal Shingala
a3748c57e2 Updated handling for existing urlencoded body conversion and to suggest serialised value according to spec 2021-01-06 10:49:21 +05:30
Vishal Shingala
a3088b6017 Fixed issue where result contained incorrect path variable indices 2021-01-05 00:12:23 +05:30
Vishal Shingala
45869abdfc Added support for urlencoded body validation 2021-01-04 12:55:55 +05:30
Vishal Shingala
f6b45ca0a2 Fixed issue where parameter examples were not used in conversion 2020-12-27 23:57:39 +05:30
Vishal Shingala
5ea2c0820c Fixed issue where for type array examples with more than 2 elements were not used in faking 2020-12-21 11:37:23 +05:30
Vishal Shingala
d3ac1261d0 Fixed incorrect handling for explodable parameters for resolution schema 2020-12-04 00:41:51 +05:30
Ed Clements
fe90adf833 Fix lint errors 2020-09-18 16:06:06 +01:00
Ed Clements
1bde5d603a Disable optional parameters
Adds a new option disableOptionalParameters to mark optional parameters
(required is false) as disabled.
2020-09-18 15:10:59 +01:00
Vishal Shingala
b5f9fb1c49 Added support for Auth params in response/example. (#286)
* Added support for correct auth params in original request of response

* Updated collection json schema to latest

* Added tests for feature - response auth params support

* Moved auth params in response behind an option

* Updated option name and description to follow consistent casing

* Updated option id for including auth params in response to be more suitable

Co-authored-by: Vishal Shingala <vishalkumar.shingala@postman.com>
2020-09-09 12:28:17 +05:30
Vishal Shingala
2ff0fd921c Added support for handling correct media types which were throwing mismatches earlier (#292)
Co-authored-by: Vishal Shingala <vishalkumar.shingala@postman.com>
2020-09-08 12:24:11 +05:30
Vishal Shingala
06fc517a0c Fixed issue where mismatches were present when only primitive data types in body were present (#293) 2020-09-07 17:08:32 +05:30
Vishal Shingala
75a8328982 Fixed issue where parameter resolution was "schema" when "example" was to be resolution (#290) 2020-09-07 16:53:53 +05:30
Vishal Shingala
1215d9de15 Added support for internal $ref resolution in validation flows 2020-09-01 17:55:51 +05:30
Vishal Shingala
19df02dc4e Merge pull request #263 from postmanlabs/feature/validation-test
Added validation tests to improve code coverage.
2020-08-10 13:43:06 +05:30
Vishal Shingala
361b9951c5 Merge branch 'develop' of github.com:postmanlabs/openapi-to-postman into feature/fix-hybrid-pathsegment-validation 2020-08-07 17:21:20 +05:30
Vishal Shingala
a1d6eda83c Merge pull request #265 from postmanlabs/feature/fix-invalid-deserialisation
Fixed issue where invalid deserialisation was happening for param style matrix.
2020-08-07 17:14:00 +05:30
Vishal Shingala
7597142d34 Merge pull request #267 from postmanlabs/feature/fix-invalid-baseurl-rootserver
Fixed issue where URL did not contain baseUrl as host when base url variables are present.
2020-08-07 16:34:44 +05:30
Vishal Shingala
50bfad66b9 Merge pull request #275 from postmanlabs/feature/fix-root-path-mismatch
Fixed issue where root path was not matched during validation.
2020-08-07 16:33:37 +05:30
Vishal Shingala
a6ef20b111 Merge pull request #266 from postmanlabs/feature/fix-empty-collectionvar-value
Fixed issue where collection variable generated for path variables had empty values.
2020-08-06 12:42:33 +05:30
Vishal Shingala
cc7c8857bd Fixed an issue where it suggested value did not fix corresponding mismatch 2020-08-05 11:44:39 +05:30
Vishal Shingala
ef116ec613 Fixed issue where root path was not matched during validation 2020-08-04 18:25:15 +05:30
Vishal Shingala
5dff346f86 Fixed an issue where transaction was not matching if path had segment with fix and variable parts 2020-07-27 13:24:05 +05:30
Vishal Shingala
bff83974d4 Fixed TypeError: paramValue.indexOf is not a function 2020-07-24 18:04:04 +05:30
Vishal Shingala
7723a55d4f Fixed TypeError happening when schema contains empty/invalid response header 2020-07-24 17:53:16 +05:30
Vishal Shingala
cc6a0acc82 Fixed issue where URL did not contain baseUrl as host when base url variables are present 2020-07-20 22:50:43 +05:30
Vishal Shingala
984186ad65 Fixed issue where collection variable generated for path variables contained empty values 2020-07-20 21:24:49 +05:30
Vishal Shingala
4ee4e36c5b Fixed issue where invalid deserialisation was happening for param style matrix 2020-07-20 16:02:28 +05:30
umeshp7
fd3ddcbd9f Remove fakeData check in convertToPmHeader 2020-07-14 17:32:55 +05:30