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
Vishal Shingala
c08266564c
Fixed invalid converted type of value for header and url
2020-06-24 16:08:32 +05:30
Abhijit Kane
a7273ff03d
Merge pull request #243 from postmanlabs/feature/missing-endpoint-suggestion
...
Suggest request for missing endpoints in collection.
2020-06-23 11:04:19 +05:30
Vishal Shingala
948ef2505d
Suggest fix for missing endpoints in collection
2020-06-22 16:52:31 +05:30
Vishal Shingala
f7d679d2c3
Use global definition for implicit headers and Updated reason for missing in schema content header
2020-06-18 15:08:57 +05:30
Vishal Shingala
17d87c1de3
Updated reason for missing in schema code
2020-06-18 09:43:05 +05:30
Vishal Shingala
8d781df5a9
Suggest only header value and not key value pair for invalid content header
2020-06-18 09:25:01 +05:30
Vishal Shingala
f455853483
Added support for validating content type header correctly
2020-06-17 16:15:54 +05:30
Vishal Shingala
a6d78eda2b
Merge branch 'develop' of github.com:postmanlabs/openapi-to-postman into feature/suggest-fixes
2020-06-14 23:34:33 +05:30
Vishal Shingala
bc432fe6a7
Merge branch 'feature/suggest-fixes' of github.com:postmanlabs/openapi-to-postman into feature/improve-example-option
2020-06-14 23:24:43 +05:30
Abhijit Kane
8626dce828
Merge pull request #222 from postmanlabs/feature/strict-request-matching
...
Strict request matching for validation.
2020-06-14 23:20:30 +05:30