Commit Graph

47 Commits

Author SHA1 Message Date
Vishal Shingala
65ec7f877c Added support for strict request matching option 2020-05-28 16:49:58 +05:30
Abhijit Kane
bb054b0e83 Merge pull request #206 from postmanlabs/feature/support-nullable
Added support for nullable keyword in Validation.
2020-05-14 23:28:19 +05:30
Vishal Shingala
e25e234fa0 Added support for using Tags for folder creation (folderStrategy option) 2020-05-11 14:54:55 +05:30
umeshp7
46b7913911 Merge develop into feature/meta-data-function 2020-04-27 21:01:19 +05:30
umeshp7
1e344ae7ba change getMetaData function to be async and add tests 2020-04-27 20:49:35 +05:30
Vishal Shingala
537b2a8e61 Added support for nullable keyword. 2020-04-27 13:05:34 +05:30
Vishal Shingala
f783d37172 Updated options name and description and added support for criteria searching for getOptions() 2020-04-23 19:17:31 +05:30
umeshp7
29c0d8ec4e Update output of metaData function, info.title is the name of the spec 2020-04-20 14:15:14 +05:30
umeshp7
90c555ab58 Add getMetaData function 2020-04-20 14:09:21 +05:30
shreys7
6ade6896d8 Correct punctuations in option descriptions and change indent option values 2020-04-07 13:21:33 +05:30
Umesh Pathak
3c4c2d82b1 Add path variable handling for special cases (#171) 2020-03-26 04:33:13 +05:30
umeshp7
f047d13a87 Proper handling of error in mergeAndValidate when mergeFile fails. 2020-02-17 16:45:53 +05:30
umeshp7
e64c7de329 Fix error handling for mergeAndValidate 2020-02-17 12:00:49 +05:30
umeshp7
ad36fca135 Merge develop into feature/support-for-multifiles 2020-02-05 12:51:24 +05:30
shreys7
3621767896 Merge branch 'develop' into feature/cache-fake-schema 2020-01-31 12:50:04 +05:30
umeshp7
a2c665c95c Reusing parsing logic for oas 2020-01-24 14:51:45 +05:30
shreys7
c174dbbbe9 Add fix to check for empty spec before passing it to parseSpec function 2020-01-22 14:14:15 +05:30
umeshp7
738edf8152 Use schemapack in tests, add handling for no root files 2020-01-21 15:12:14 +05:30
shreys7
98dff267b7 Correct typo that used schemaFakerCache instead of schemaResolutionCache for validator functions 2020-01-21 14:54:25 +05:30
shreys7
4516c0adc8 Add schemaResolutionCache logic for validator functions 2020-01-21 13:41:33 +05:30
umeshp7
f9adc10459 Support for multi file schema in schemapack 2020-01-14 16:21:59 +05:30
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