Commit Graph

69 Commits

Author SHA1 Message Date
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
Dhroov7
a28cbbae20 added a comment for creating tempSchema and created a variable for too many levels string check in the test 2019-09-30 17:00:22 +05:30
Dhroov7
c04835e309 resolving circular refs by shallow cloning schema in case of array in deref.js 2019-09-27 14:02:17 +05:30
Dhroov Gupta
e5c7afb8eb reduced openapi spec file 2019-08-30 14:56:18 +05:30
Dhroov Gupta
39bdc8726f add openapi spec link as a commen t 2019-08-21 17:43:39 +05:30
Dhroov Gupta
883d94b6fc changed the name of bodyType to bodyTypeOption 2019-08-21 16:28:05 +05:30
Dhroov Gupta
cb6010c7d9 changed safeschemafaker funcgion signature 2019-08-21 16:03:10 +05:30
Dhroov Gupta
a7e32eb524 using lodash omit to shallow clone schema object 2019-08-21 15:50:04 +05:30
Dhroov Gupta
9eec75108d changed path name to current order 2019-08-16 12:03:23 +05:30
Dhroov Gupta
7470fa2671 added readOnly property functionality 2019-08-15 20:21:34 +05:30
abhijitkane
eb95a69882 Removing allOf placeholder now that schema.allOf support has been added 2019-05-26 17:31:52 +05:30
abhijitkane
f2be15bc79 Handling allOf schemas for type: object 2019-05-26 13:42:41 +05:30
abhijitkane
9d7fd4d293 [Issue#23] - Support for custom schema property formats 2019-05-15 01:40:08 +05:30
Abhijit Kane
726b6f7b69 Updated comment to explain custom function 2019-04-17 18:41:09 +05:30