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
a3088b6017
Fixed issue where result contained incorrect path variable indices
2021-01-05 00:12:23 +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
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
umeshp7
782e213e5d
Merge develop into performance-improvements
2020-07-14 15:56:22 +05:30
Vishal Shingala
6995a1922e
Merge branch 'develop' of github.com:postmanlabs/openapi-to-postman into feature/skip-security-header-validation
2020-07-14 11:31:03 +05:30
Vishal Shingala
f22c6d34bf
Added support for parameter serialisation in conversion and deserialisation in validation. ( #257 )
...
* Added support for parameter string serialisation for conversion and deserialisation during validation
* Fixed existing test for string serialisation
* Added support for parameter string serialisation for conversion and deserialisation during validation
* Fixed existing test for string serialisation
Co-authored-by: Vishal Shingala <vishalkumar.shingala@postman.com >
2020-07-14 11:26:48 +05:30
Vishal Shingala
e18dba0b46
Added OpenAPI suggested headers to implicit headers list to be ignored during validation
2020-07-14 11:25:29 +05:30
Vishal Shingala
0a2c221d29
Added support for collection variables for local servers in suggested request for validation. ( #247 )
...
* Added support for collection variables for local servers in suggested request
* Suggest collection variable from baseUrl and vars if no path level servers are defined
* Keep endpoint prop same across all schema
* Fixed invalid Url and collection variable when path level server was present
* To not include variable generated from empty server object
* Rebased branch to update variable name handling in missing endpoint suggestion
* Updated variable name handling to more readable format
* fixed wrong checking for path level servers
* Fixed issue where path level server was always picked up
* Fixed failing test
Co-authored-by: Vishal Shingala <vishalkumar.shingala@postman.com >
Co-authored-by: Abhijit Kane <abhijitkane@gmail.com >
2020-07-14 11:23:17 +05:30
Vishal Shingala
e0a9670893
Merge pull request #246 from postmanlabs/feature/fix-typeerror-empty-parameters
...
Fixed TypeError happening when empty parameter is provided.
2020-07-14 10:11:08 +05:30
umeshp7
32d49cf31b
add missing jsdoc for analyzeSpec and determineOptions
2020-07-13 16:39:19 +05:30
Vishal Shingala
a51ce6a4d7
Fixed issue where params added by security schemes where providing mismatches
2020-07-10 15:59:17 +05:30
Abhijit Kane
f84b2daf32
Merge pull request #251 from postmanlabs/feature/fix-empty-description-mismatch
...
Fixed issue where empty description property caused mismatch.
2020-07-09 16:41:33 +05:30
umeshp7
a26d59fd45
Merge branch 'develop' into feature/performance-improvements
2020-07-08 16:48:58 +05:30
umeshp7
509ca050e5
Update size limit for highest complexity, jsf limit update in unique function
2020-07-08 16:48:27 +05:30
Vishal Shingala
4fcad5bfe8
Added comment describing logic behind match for null and empty string
2020-07-08 15:38:42 +05:30
Vishal Shingala
f44192fca0
Created separate function for modified _.get
2020-07-08 14:59:42 +05:30
umeshp7
7a8103eff7
Use optimizeConversion in validateTransaction function
2020-07-08 10:58:26 +05:30
umeshp7
7ab167aa94
Add a global conversion option called optimizeConversion
2020-07-08 10:38:26 +05:30
Vishal Shingala
4b1d65abad
Fixed issue where empty description property caused mismatch between collection and schema
2020-07-07 17:02:36 +05:30
Vishal Shingala
54d810eb9f
Fixed dataPath handling for root property when dataPath is empty string
2020-07-06 14:11:57 +05:30
Vishal Shingala
5203d582e3
Merge pull request #245 from postmanlabs/feature/fix-transactionpath-headers
...
Fixed invalid transaction json path for headers.
2020-07-06 11:37:27 +05:30
umeshp7
6d14f93825
Remove duplicate JSON stringify
2020-06-29 12:21:32 +05:30
Vishal Shingala
ba97cfcfb3
Fixed TypeError happening when empty parameter is provided
2020-06-25 17:48:42 +05:30
umeshp7
359acb6d77
Change stack limit on the basis of spec size, and complexity
2020-06-24 21:18:12 +05:30
Vishal Shingala
24dbdbbe58
Use actual index of headers in transactionJson path
2020-06-24 19:36:57 +05:30
Vishal Shingala
bca138c690
Fixed invalid converted type of value for form and query param
2020-06-24 17:11:07 +05:30