Commit Graph

76 Commits

Author SHA1 Message Date
shreys7
02c1ab8619 Add caching mechanism, SchemaPack class now consists of schemaResolutionCache and schemaFakerCache 2020-01-09 17:36:23 +05:30
Abhijit Kane
647d9088a1 Not resolving OAS components before validation 2020-01-03 21:09:29 +05:30
Abhijit Kane
587fe14540 Moving txn schema to assets, skipping eslint for assets/* files 2020-01-02 16:30:46 +05:30
Abhijit Kane
14622c1b61 Validating requestList schema before starting transaction validation 2020-01-02 16:23:52 +05:30
Abhijit Kane
a2bec105a9 Consistent response formats, more resilient against invalid schemas 2020-01-01 19:50:50 +05:30
Abhijit Kane
48d7ff3523 Merge pull request #145 from postmanlabs/feature/remove-version-parsing
Remove version property from generated collection
2020-01-01 13:01:43 +05:30
shreys7
0ac6f21649 Remove version parsing logic from module 2019-12-31 12:12:31 +05:30
Abhijit Kane
4e963268b1 Using stringified URL for query param checks 2019-12-31 09:39:10 +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
shreys7
747e69ee84 Add fix to delete version property from generated collection if input version does not follow semver 2019-12-30 14:51:24 +05:30
Abhijit Kane
517033ef1f Accepting collection URL object format, along with string 2019-12-25 13:14:27 +02:00
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
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
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
4a244c9e08 Test fixes + handling no-matching-paths condition correctly 2019-12-19 09:57:11 +05:30
Abhijit Kane
bbc7c5e02f Lint fixes + getting older wrappers using new API correctly 2019-12-18 14:59:13 +05:30
Abhijit Kane
56075c044d Adding usage guide for validator API 2019-12-18 12:10:49 +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