Commit Graph

351 Commits

Author SHA1 Message Date
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
Abhijit Kane
dd03a65f9e Merge pull request #228 from postmanlabs/feature/missing-endpoints
Added support for missing endpoints in collection.
2020-06-14 23:18:08 +05:30
Abhijit Kane
8155496204 Merge pull request #219 from postmanlabs/feature/fix-formdata-body
Fixes non added type property of form-param in collection generation.
2020-06-14 19:52:02 +05:30
Vishal Shingala
fb079ae2ce Use faked value as example if schema example is invalid 2020-06-14 18:54:08 +05:30
umeshp7
08255cd4ee Add an extra check to test auth defaults to null 2020-06-12 12:12:30 +05:30
umeshp7
e4c88668a5 Update the auth default to null, for inherit from auth 2020-06-12 11:44:26 +05:30
Vishal Shingala
bece1e3f06 Fixed datapath access for when path starts with array 2020-06-09 21:21:12 +05:30
Vishal Shingala
e16f2c9488 Merge branch 'feature/validate-metadata' of github.com:postmanlabs/openapi-to-postman into feature/ingonre-variable-mismatches 2020-06-09 17:07:41 +05:30
Vishal Shingala
c8376abe59 Merge branch 'feature/suggest-fixes' of github.com:postmanlabs/openapi-to-postman into feature/validate-metadata 2020-06-09 17:06:22 +05:30
Vishal Shingala
119ff6e00c Fixed bug where no response header mismatches where returned if no headers are defined in schema 2020-06-09 12:16:58 +05:30
Vishal Shingala
b9fbe62920 Fixed MISSING_IN_SCHEMA response headers where empty array was sent previously 2020-06-08 21:19:03 +05:30
Vishal Shingala
0bf8963e84 Updated transaction path to reflect actual path where property is missing 2020-06-08 12:19:08 +05:30
Vishal Shingala
b11a305609 Merge branch 'feature/suggest-fixes' of github.com:postmanlabs/openapi-to-postman into feature/validate-metadata 2020-06-08 00:38:09 +05:30
Vishal Shingala
2ef0eee80e Updated value returned for MISSING_IN_REQUEST to include actual object header, queryparam or path variable instead of only value 2020-06-08 00:21:37 +05:30
Vishal Shingala
60d921edfe Updated mismatch reason for response body to include prop name 2020-06-08 00:04:41 +05:30
Vishal Shingala
2a1a06be39 Fixed dataPath incase of array where leading . does not exist 2020-06-07 23:56:07 +05:30
Vishal Shingala
3faad76755 Updated request description to handle case when description is object 2020-06-05 16:27:13 +05:30
Vishal Shingala
24700da553 Addressed comments regarding description change for option strictRequestMatching and updated variable matching to be priorotized over fixed matching 2020-06-05 12:37:01 +05:30
Vishal Shingala
f8d0b9e285 Addressed comments regarding description change of ignoreUnresolvedVariables option, moved unsupported keywords to global const and made isPmVariable function global 2020-06-05 11:53:12 +05:30
Vishal Shingala
4cddb6a61f Fixed indefined validate.errors in case of failed validation 2020-06-04 13:10:54 +05:30
Vishal Shingala
db0d7e5a93 Used variable matched segments too for ordering matched endpoints in result 2020-06-04 11:39:11 +05:30
Vishal Shingala
af69508117 Fixed invalid path to request description 2020-06-04 11:21:21 +05:30
Vishal Shingala
1cdf63a37c Fixed invalid handling of missing endpoints array 2020-06-04 11:12:56 +05:30
Vishal Shingala
cbc38dff85 Fixed unresolved variable 2020-06-04 11:01:38 +05:30