Vishal Shingala
df174ebe5f
Merge pull request #481 from postmanlabs/fix479/valueTypes
...
values like <integer> in validation
2022-03-14 21:06:54 +05:30
Luis Tejeda
adde11a1d5
add format scenarios
...
added support for:
date-time, date, float, double, and verification for byte, binary and password
2022-03-09 13:02:12 -06:00
Luis Tejeda
a22700bc96
Add support for int64 format
...
Add support for int 64 format
2022-03-04 17:43:12 -06:00
Vishal Shingala
4408ee48ec
Merge branch 'develop' into feature/fix-readonly-required-resolution
2022-03-03 10:58:22 +05:30
Luis Tejeda
d82aee00d2
Fix merging errors
...
Fix errors on merge.
2022-03-01 09:46:28 -06:00
Luis Tejeda
2582587358
Merge branch 'develop' into fix479/valueTypes
2022-03-01 09:26:24 -06:00
Vishal Shingala
53d13d50fc
Fixed an issue where readOnly and writeOnly properties were not removed from required in resolved schema
2022-02-28 11:09:05 +05:30
Luis Tejeda
50631020d2
Extract typesMap, space and lines issues, improve naming
...
Extract typesMap to schemaUtilsCommon and consume it in deref.js and ajvValidation.js, fix new lines issues and change method's name from
formatSchemaPathToConverToDataPath to formatSchemaPathFromAJVErrorToConvertToDataPath
2022-02-22 11:37:24 -06:00
Vishal Shingala
d6ad9133d4
Removed usage of schema resolution cache to avoid incorrect resolution
2022-02-17 12:11:37 +05:30
Vishal Shingala
8ea52bdf40
Updated additionalProperties resolution to clone data instead of using same refernce
2022-02-16 18:58:34 +05:30
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