Commit Graph

82 Commits

Author SHA1 Message Date
umeshp7
3368be1528 Merge branch 'develop' into feature/sync-develop-and-split-develop 2022-02-08 20:25:03 +05:30
Vishal Shingala
d206290a8e Resolve inline refs present in additionalProperties 2022-01-20 12:46:23 +05:30
Erik Mendoza
7441dd9d40 Adding support for all outer properties in schema with $ref 2021-12-15 18:14:37 -06:00
Erik Mendoza
ee8e6da5a4 Adding support to nested schemas with examples, adding support to nested types as array, adding support to outer required property in deref 2021-12-14 22:29:22 -06:00
Erik Mendoza
53be2a14bb Removing some commented code, adding version value to concrete schemaUtils 2021-12-08 14:16:44 -06:00
Erik Mendoza
34f31e9931 Fix conversion process for openapi 3.1, adding schemaUtils31X and schemaUtils30X, adding unit tests 2021-12-07 21:52:51 -06:00
Vishal Shingala
65d7e9af23 Added support for anyOf and oneOf keywords in validation flow 2021-10-21 00:00:48 +05:30
Ankit Saini
2f7e214037 Check for type and format in the original param instead of checking for value after processing 2021-10-04 19:31:55 +05:30
Vishal Shingala
1716c4cdc3 Added support for stackLimit option to customize schema resolution level 2021-08-17 17:11:00 +05:30
Vishal Shingala
446ca77444 Added more comments to understand added fields correctly 2021-08-05 14:53:41 +05:30
Vishal Shingala
25b2ee0831 Updated code to be more readable as suggested in comment 2021-08-05 12:26:00 +05:30
Vishal Shingala
19b0e1db9e Fixed issue where invalid cached schema was being used 2021-08-02 18:12:43 +05:30
Vishal Shingala
8b3f8e7e4e Addressed comment regarding keeping property present check lodash free 2021-03-16 09:48:17 +05:30
Vishal Shingala
6d465f9024 Fixed issue where resolved schema contain conflicting info regarding pattern and format 2021-03-12 15:57:15 +05:30
Vishal Shingala
dd51af52cb Updated value for failed allof merge and added node 12 in CI 2020-10-15 13:01:45 +05:30
Vishal Shingala
e5c6d2734a Fixed issue where schemas in allOf were not resolved correctly 2020-09-28 11:21:42 +05:30
Vishal Shingala
70f374904b Fixed issue where schema type object with no properties reolved to string (#294)
Co-authored-by: Vishal Shingala <vishalkumar.shingala@postman.com>
2020-09-08 12:25:09 +05:30
Vishal Shingala
fd7865bcc9 Added supported formats while schema resolution (#288) 2020-09-07 16:54:33 +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
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
Vishal Shingala
fb079ae2ce Use faked value as example if schema example is invalid 2020-06-14 18:54:08 +05:30
Vishal Shingala
fc5c9f91a2 Improved example value for requestParameterResolution and exampleParameterResolution option to fallback to faked value instead of schema 2020-06-03 18:07:28 +05:30
Vishal Shingala
2c422728f0 Added support for suggesting available fixes 2020-06-01 19:09:48 +05:30
Vishal Shingala
4b0d2fe77c Added description for reason behind overriding of maxItems 2020-05-14 16:30:46 +05:30
Vishal Shingala
ad80fbddbf Updated no of items generated handling 2020-05-14 11:58:09 +05:30
Vishal Shingala
32a231322e Use default value if no minItems is present for schema faking of array 2020-05-14 10:55:20 +05:30
Vishal Shingala
e5a6264381 Updated minItems and maxItem handling for conversion 2020-05-13 19:31:45 +05:30
Abhijit Kane
1f2b518214 Merge pull request #199 from postmanlabs/feature/show-body-mismatches
Added support for detailed validation errors with option detailedBlobValidation.
2020-04-21 11:37:44 +05:30
umeshp7
f11caa54c8 Add safe check avoid undef error 2020-04-16 15:02:23 +05:30
Umesh Pathak
6648f9d4fa Merge branch 'develop' into feature/fix-schema-res-cache 2020-04-15 14:10:59 +05:30
Vishal Shingala
7ca547ac6d Added support for detaied validation errors with option detailedBlobValidation 2020-04-14 12:43:22 +05:30
Abhijit Kane
eb5cc8e4a1 Merge pull request #196 from postmanlabs/feature/support-resolveref-for-validation
Fixed unable to validate schema with type: array
2020-04-13 16:44:47 +05:30
Vishal Shingala
7cf4217b73 Addressed comments regarding renaming RESOLVE_REFS_FOR to PROCESSING_TYPE and added decriptive comment for setting minItems and maxItems properties to 2 2020-04-08 14:01:31 +05:30
Vishal Shingala
7b5caaa708 Added support for resolving refs for VALIDATION with default being for CONVERSION 2020-04-07 16:07:54 +05:30
umeshp7
22038136c7 Add handling for escaped characters in deref.resolveRefs 2020-03-31 13:49:35 +05:30
umeshp7
471b87f467 Fix failing tests 2020-03-31 13:15:53 +05:30
Umesh Pathak
b76798644e Merge branch 'develop' into feature/fix-schema-res-cache 2020-03-27 15:20:59 +05:30
Umesh Pathak
9e9a51a8ad Ignore resolving circular references (#177) 2020-03-26 04:25:08 +05:30
umeshp7
59ccea4a9d Avoid storing in schema resolution cache if schema not resolved previously 2020-03-18 16:09:09 +05:30
Abhijit Kane
2d4a1c5d3f Updated handling for missing schemas - adding user-readable message 2020-03-14 11:18:24 +05:30
Jibin Mathews
62d53bb05c Safe checking schema properties 2020-03-12 13:20:08 +05:30
Jibin Mathews
d2cf33b224 Fix error variable 2020-03-10 01:51:32 +05:30
shreys7
88989dcc67 Merge branch 'develop' into feature/cache-fake-schema 2020-01-10 20:11:09 +05:30
Abhijit Kane
fc591c87ed Returning dummy value for invalid schema references instead of throwing errors 2020-01-10 12:53:02 +05:30
shreys7
97cb4cc8fc Refactor deref.js functions to have schemaResolutionCache as a parameter 2020-01-09 17:38:40 +05:30
Abhijit Kane
7cc2d3fc54 Merge branch 'develop' into feature/new-api-and-validator 2019-12-20 16:38:06 +05:30
Abhijit Kane
3f551fd259 New SchemaPack API exposed, validatorAgainstHistory v1 2019-12-15 14:51:52 +05:30
Dhroov7
702c2a58bd added sample test file and the fix for zero in default values 2019-12-08 17:25:21 +05:30
Dhroov7
0a5150e160 added a function setting query params to the url 2019-11-21 14:47:01 +05:30
Abhijit Kane
235544e65b Corrected comment around cloning schema.items 2019-10-01 10:16:34 +05:30