Commit Graph

51 Commits

Author SHA1 Message Date
Vishal Shingala
3f82eda8ad Merge branch 'develop' of github.com:postmanlabs/openapi-to-postman into fix496/validateWithServers 2022-07-19 19:07:20 +05:30
Luis Tejeda
99e7f66044 Support fragments in url
support fragments in url when there are no defined explicit servers
2022-07-18 12:12:32 -05:00
Luis Tejeda
ad78625271 Add support for url with fragment and servers
Add support for url with fragment and serversAdd support for url with fragment and serversAdd support for url with fragment and servers
2022-07-13 14:39:23 -05:00
Luis Tejeda
9c99eb1c43 removed unnecessary test
removed unnecessary test
2022-03-25 13:41:46 -06:00
Luis Tejeda
8f0aea51ca match with servers
Match a request url with a path using the explicitly defined servers
2022-03-25 13:00:37 -06:00
Erik Mendoza
06b4d77610 Change INVALID_VALUE to MISSING_IN_REQUEST, actualValue is now the varPath object from the transaction, suggestedValue is the object faked from the schema 2022-03-16 15:50:56 -06:00
Erik Mendoza
a5af6ae931 Fix typo, change INVALID_VALUE reason message 2022-03-14 11:33:19 -06:00
Erik Mendoza
13c451e455 Fix the suggestedValue when reason code is INVALID_VALUE, validating the suggestedFix values in related tests 2022-03-14 11:33:19 -06:00
Erik Mendoza
7005ff538e Fix the naming and extracting function to commonUtils
Renaming some variables and extracting a method to common utils
2022-03-14 11:33:02 -06:00
Erik Mendoza
44c4d2ed54 Fixing issue #478, path variables matching validation
The path variables provided in transactions will be validated with the path variables in spec. If they does not match it will be generated a mismatch with INVALID_VALUE reasonCode.
2022-03-14 11:22:34 -06:00
Luis Tejeda
adde11a1d5 add format scenarios
added support for:
date-time, date, float, double, and verification for byte, binary and password
2022-03-09 13:02:12 -06:00
Luis Tejeda
aec94b7f03 Add testing scenarios and simplify into one file
Add testing scenarios and simplify into one file (compose object in prams)
2022-03-07 10:07:30 -06:00
Luis Tejeda
a22700bc96 Add support for int64 format
Add support for int 64 format
2022-03-04 17:43:12 -06:00
Luis Tejeda
3442d824b6 test for <long>
test for <long>
2022-03-04 14:49:02 -06:00
Luis Tejeda
b0f57b7688 Test for checking deeper properties
Test for checking deeper properties in detailed blob validation
2022-03-03 10:42:57 -06:00
Luis Tejeda
8927e4b528 Add test for transaction path in validation
Add test for transaction path in validation
2022-03-01 12:12:56 -06:00
umeshp7
d8c16ea74a Revert webhooks related changes for validation 2022-02-09 18:22:43 +05:30
umeshp7
3368be1528 Merge branch 'develop' into feature/sync-develop-and-split-develop 2022-02-08 20:25:03 +05:30
Luis Tejeda
c1367e234e increase time
increase time
2022-02-01 13:05:19 -06:00
Luis Tejeda
9c2ebe2a1d increase time out
increase time out
2022-02-01 12:55:03 -06:00
Vishal Shingala
13beeefb50 Merge pull request #455 from postmanlabs/feature/allow-inline-url-pathvar-matching
Fixed issue where for certain collection requests validateTransactions() provided missing path varaible in request even though it was present.
2022-01-31 14:13:13 +05:30
Vishal Shingala
1a251605bf Fixed typo 2022-01-31 14:06:44 +05:30
Vishal Shingala
18153fb847 Fixed issue where for certain collection requests validateTransactions() provided missing path varaible in request even though it was present 2022-01-31 02:29:21 +05:30
Luis Tejeda
bfaf814518 resolve matchingrequest when is a webhook 2022-01-24 16:39:50 -06:00
Vishal Shingala
989cea9ce6 Fixed issue where content-type with wild characters resulted in mismacthes for valid collection headrs 2022-01-19 12:53:15 +05:30
Erik Mendoza
505b795154 Adding files to cover validator.test scenarios with version 3.1, adding tests to validate validator.test scenarios in version 3.1 2022-01-17 23:05:31 -06:00
Ankit Saini
6fff04a294 Merge pull request #420 from postmanlabs/feature/composite-schema-validation
Added support for anyOf and oneOf keywords in validation flow.
2021-11-02 14:32:49 +05:30
Vishal Shingala
522e734989 Fixed issue where validation against collection always provides mismatch if requestBody has $ref 2021-10-25 12:36:08 +05:30
Vishal Shingala
65d7e9af23 Added support for anyOf and oneOf keywords in validation flow 2021-10-21 00:00:48 +05:30
Vishal Shingala
a55290b79f Added test for the fixed new added path variable issue 2021-10-05 19:17:57 +05:30
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
a4175720a0 Fixed issue where nested objects present in parameters caused validation mismatches 2021-04-26 19:07:38 +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
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
322f3208c7 Fixed failing tests regarding incorrect transaction path 2021-02-19 12:40:22 +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
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
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
38098e246f Added tests to check for no mismatches for schema in question 2021-01-20 10:42:55 +05:30
Vishal Shingala
e62e9ae09e Added tests for validating urlencoded body 2021-01-06 10:49:55 +05:30
Vishal Shingala
a3088b6017 Fixed issue where result contained incorrect path variable indices 2021-01-05 00:12:23 +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
1215d9de15 Added support for internal $ref resolution in validation flows 2020-09-01 17:55:51 +05:30
Vishal Shingala
02c2cfa7db Updated test to be agnostic of fixture 2020-08-07 19:55:53 +05:30
Vishal Shingala
694c40bfbd Fixed test collection to use example instead schema for param resolution 2020-08-05 12:00:39 +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
a09ab65b86 Added tests for fixed bugs in previous release 2020-08-05 11:17:51 +05:30