Commit Graph

1356 Commits

Author SHA1 Message Date
Luis Tejeda
e39b9649f4 Added null test in bodies
Added null examples in request body and response body
2022-02-28 11:08:13 -06:00
Luis Tejeda
9de5e64a58 Revert "values like <integer> in validation"
This reverts commit 6da1865041.
2022-02-28 09:54:46 -06:00
Luis Tejeda
7e0aea4bdc Revert "WIP add support for more scenarios"
This reverts commit 01ed77adf2.
2022-02-28 09:54:44 -06:00
Luis Tejeda
30d2dc7d37 Revert "Added support for reading schema with schemapath converted as datapath"
This reverts commit d283fd81da.
2022-02-28 09:54:41 -06:00
Luis Tejeda
45f733bd71 Revert "Extract typesMap, space and lines issues, improve naming"
This reverts commit 50631020d2.
2022-02-28 09:54:38 -06:00
Luis Tejeda
fb88c34733 Revert "Add tests to check transactionJsonPath when detailedBlobValidation is true"
This reverts commit 438a7b3a7c.
2022-02-28 09:54:25 -06:00
Luis Tejeda
7ac8c9447c Update schemaUtils.js
validate also null possibility
2022-02-24 12:30:29 -06:00
Luis Tejeda
95e7e6567d Support falsy examples defined out of schema 2022-02-24 11:58:42 -06:00
Luis Tejeda
438a7b3a7c Add tests to check transactionJsonPath when detailedBlobValidation is true
Add tests to check transactionJsonPath when detailedBlobValidation is true
2022-02-22 15:59:09 -06:00
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
Luis Tejeda
d283fd81da Added support for reading schema with schemapath converted as datapath
Added support for reading schema with schemapath converted as datapath
2022-02-21 11:47:46 -06:00
Luis Tejeda
01ed77adf2 WIP add support for more scenarios 2022-02-18 14:20:15 -06:00
Luis Tejeda
6da1865041 values like <integer> in validation
Accept values like <integer>, <boolean> etc. in validation
2022-02-16 11:46:54 -06:00
Luis Tejeda
a911261571 change test description 2022-02-10 10:55:14 -06:00
Luis Tejeda
0663c08d8b Merge pull request #470 from postmanlabs/validateInputWebhooksOption
Validate input webhooks option
2022-02-09 17:30:44 -06:00
Erik Mendoza
93edc28fa7 Merge pull request #469 from postmanlabs/TestingFix
sorting files
2022-02-09 14:07:00 -06:00
Luis Tejeda
9483a587a8 Update integration.test.js
Fix test regression
2022-02-09 13:12:09 -06:00
Luis Tejeda
3327923fbf Merge remote-tracking branch 'origin/TestingFix' into validateInputWebhooksOption 2022-02-09 12:51:16 -06:00
Luis Tejeda
fd3c6e241c Update package.json
exclude test folder from UT
2022-02-09 12:49:41 -06:00
Luis Tejeda
50ba85ce68 Change validation input when version is 3.1.x
if the option includeWebhooks is false and there are no paths (only webhooks or componentes) throw error.
2022-02-09 12:46:31 -06:00
Carlos_Veloz
aaa1336a36 Merge branch 'split/develop/3.1.0-support' into TestingFix 2022-02-09 11:25:49 -06:00
Luis Tejeda
aef9db8c91 Merge pull request #466 from postmanlabs/feature/sync-develop-and-split-develop
Feature/sync develop and split develop
2022-02-09 11:25:06 -06:00
Carlos_Veloz
8b53db3c31 sorting files 2022-02-09 10:54:44 -06:00
Luis Tejeda
02e22e8825 Merge pull request #468 from postmanlabs/feature/remove-validation-webhooks
Remove webhooks from validateTransaction and make `includeWebhooks` internal
2022-02-09 10:14:23 -06:00
umeshp7
d8c16ea74a Revert webhooks related changes for validation 2022-02-09 18:22:43 +05:30
umeshp7
2427ee359f 3.0.0-beta.7 2022-02-09 11:40:35 +05:30
Luis Tejeda
24ad1589c2 Merge branch 'split/develop/3.1.0-support' into feature/sync-develop-and-split-develop 2022-02-08 17:25:27 -06:00
Luis Tejeda
9a3fa60c5d Fix tests for 3.1
Fix tests for 3.1
2022-02-08 17:24:05 -06:00
Erik Mendoza
2d69ebaeda Merge pull request #464 from postmanlabs/removeAjv4UseAjv6
change ajv draft 4 to ajv 6 and validate using schema for 04
2022-02-08 17:00:33 -06:00
Luis Tejeda
f5f54e8af1 Merge branch 'removeAjv4UseAjv6' into feature/sync-develop-and-split-develop 2022-02-08 15:30:34 -06:00
Luis Tejeda
0147dedebf Remove aliased ajv6 version and add it as resource under assets
Remove aliased ajv6 version and add it as resource under assets
2022-02-08 13:19:58 -06:00
umeshp7
1c07c9b5bd Update package lock 2022-02-08 20:25:28 +05:30
umeshp7
3368be1528 Merge branch 'develop' into feature/sync-develop-and-split-develop 2022-02-08 20:25:03 +05:30
Luis Tejeda
68b65fe9c7 add options from previous implementation 2022-02-04 15:40:29 -06:00
Luis Tejeda
ba21c9703c Merge branch 'split/develop/3.1.0-support' into removeAjv4UseAjv6 2022-02-04 14:38:02 -06:00
Luis Tejeda
760bcfdebe change ajv draft 4 to ajv 6 and validate using schema for 04
change ajv draft 4 to ajv 6 and validate using schema for 04
2022-02-04 12:45:52 -06:00
Erik Mendoza
94ccdbb740 Merge pull request #463 from postmanlabs/jsonSchemaDialectProperty
support for defined schema dialect property on validate transaction
2022-02-04 10:54:35 -06:00
Luis Tejeda
e2d324aa4a support for defined schema dialect property on validate transaction 2022-02-03 12:24:50 -06:00
Carlos-Veloz
8c2cff19e7 Merge pull request #462 from postmanlabs/fix31TypesbyExamples
Fix31 types by examples
2022-02-03 09:55:17 -06:00
Luis Tejeda
8c9a8f25f9 add scenario where other than first example match any type 2022-02-02 18:30:58 -06:00
Luis Tejeda
9bdecfcee7 Merge branch 'fix31TypesbyExamples' of https://github.com/postmanlabs/openapi-to-postman into fix31TypesbyExamples 2022-02-02 16:28:59 -06:00
Luis Tejeda
c5e8394672 Update schemaUtils31X.js
refactoring
2022-02-02 16:28:51 -06:00
Luis Tejeda
bb0e4e7987 Merge branch 'split/develop/3.1.0-support' into fix31TypesbyExamples 2022-02-02 16:28:32 -06:00
Luis Tejeda
70c4e3181a select type according to example if exists 2022-02-02 15:53:50 -06:00
Vishal Shingala
49a1771e3e Merge pull request #460 from postmanlabs/snyk-upgrade-d4258287f94f12ce89f5f3458c52b57a
[Snyk] Upgrade async from 3.2.2 to 3.2.3
2022-02-02 11:34:19 +05:30
Ankit Saini
0ffdebe59b Merge pull request #459 from postmanlabs/feature/support-accept-header
Added support for Accept header in conversion.
2022-02-02 11:32:41 +05:30
Erik Mendoza
0786e2b00e Merge pull request #461 from postmanlabs/diffSchemaDrafts
Diff schema drafts
2022-02-01 19:24:00 -06:00
Luis Tejeda
c1367e234e increase time
increase time
2022-02-01 13:05:19 -06:00
Luis Tejeda
9c2ebe2a1d increase time out
increase time out
2022-02-01 12:55:03 -06:00
Luis Tejeda
7e3dcd597e rename test file 2022-02-01 11:59:22 -06:00