374 Commits

Author SHA1 Message Date
Abhijit Kane
9a4b38d72d Exposing option to hide MISSING_IN_SCHEMA mismatches by default 2020-01-01 19:49:30 +05:30
Jibin
f155d0ae9a Fix variable scoping issues 2020-01-01 12:36:22 +05:30
shreys7
769d834a17 Correct typos for required text change 2019-12-31 18:24:34 +05:30
shreys7
6cc40e31e8 Fix schemaUtils tests description generations 2019-12-31 17:09:58 +05:30
shreys7
f71c355f55 Prepend "(Required)" text before param description where input spec contains required property set to true 2019-12-31 17:00:14 +05:30
Abhijit Kane
e4ab9c9e33 Minor fixes, empty query params ignored, matched prop also takes response mismatches into account 2019-12-30 19:41:19 +05:30
Abhijit Kane
7fbcaee9e3 Returning only best matches, minor fixes 2019-12-30 19:20:07 +05:30
Abhijit Kane
159ed9d8f9 Consistent response format whether or not matches are found 2019-12-30 19:18:54 +05:30
Abhijit Kane
0010b58d07 Changing process.nextTick to setTimeout for use in browser environments 2019-12-30 19:16:14 +05:30
Abhijit Kane
9bf96df0b2 Exposing option to ignore certain request/response props during validation 2019-12-30 19:13:45 +05:30
Abhijit Kane
08833e69d2 Expose option to shorten validation error messages
Helpful for request/response body
2019-12-30 19:11:55 +05:30
Abhijit Kane
2407e2b079 Merge pull request #142 from jazzyarchitects/feature/fix-schema-components
Adding safe checks for schema component references and invalid var re…
2019-12-21 23:39:13 +05:30
Abhijit Kane
b5a2dae49a Changing property name from REQUEST_BODY to BODY for consistency 2019-12-21 23:34:41 +05:30
Abhijit Kane
f45574cd12 Typo fixes, returning mismatches for query params too 2019-12-21 13:23:01 +05:30
Jibin
6eb8d23090 Adding safe checks for schema component references and invalid var reference 2019-12-21 08:18:47 +05:30
Abhijit Kane
cfe1000428 Resolving refs while comparing request bodies during schema validation 2019-12-20 20:02:02 +05:30
Abhijit Kane
7cc2d3fc54 Merge branch 'develop' into feature/new-api-and-validator 2019-12-20 16:38:06 +05:30
Abhijit Kane
22bd455a0f Fixing undefined error for requests without e/p matches, treat first segment of path as url if not preceeded by / 2019-12-20 16:21:00 +05:30
Abhijit Kane
617b799d27 Readding nextTick around cpu-heavy functions 2019-12-20 11:54:09 +05:30
Abhijit Kane
29be407d62 Added fuzzy matching, normalized scores 2019-12-19 20:00:55 +05:30
Abhijit Kane
bbc7c5e02f Lint fixes + getting older wrappers using new API correctly 2019-12-18 14:59:13 +05:30
Abhijit Kane
18e00de729 Correct JSONPaths for schema/txn objects 2019-12-17 15:05:54 +05:30
Abhijit Kane
35c76cd2f2 Basic structure of validation response achieved 2019-12-17 11:41:33 +05:30
Abhijit Kane
3f551fd259 New SchemaPack API exposed, validatorAgainstHistory v1 2019-12-15 14:51:52 +05:30