Erik Mendoza
088edba128
Refactor, cleaning and adding new test scenarios
...
- adding support for not provided nodes in input.
- adding support to bringing local dependencies in references from external references content
- bundle getReferences method tests
- Adding a new type of error to catch parsing errors and handle
2022-05-29 00:03:36 -05:00
Luis Tejeda
e2035a5f19
Fix PR request changes
...
Fix PR request changes
2022-05-27 16:09:23 -05:00
Erik Mendoza
0f8d118ed4
Adding bundleFormat support
2022-05-24 22:00:48 -05:00
Erik Mendoza
4aa298b399
Adding bundle files proces
2022-05-24 17:11:13 -05:00
Erik Mendoza
6223594703
Adding components generation
2022-05-24 17:11:13 -05:00
Luis Tejeda
6bb435bd75
avoid using example.value
...
use the whole object for example instead of example.value
2022-05-13 13:29:40 -05:00
Luis Tejeda
9410b6dcc1
Search for value prop in schema
...
Search for value prop in schema
2022-05-12 15:51:34 -05:00
Luis Tejeda
29ce252256
Delete bad imp of value prop
...
Delete bad imp of value prop
2022-05-11 12:22:23 -05:00
Luis Tejeda
f3030247ea
Filter roots by specification version
...
Filter roots by specification version
2022-05-02 21:14:40 -05:00
Luis Tejeda
ef829769c1
remove local ref in path
...
remove the local reference in path
2022-05-02 21:14:40 -05:00
Luis Tejeda
c65d80ae05
add path solving while searching
...
add path solving while searching
2022-05-02 21:14:40 -05:00
Luis Tejeda
2312dccd74
Add test working from index
...
add pipeline from schemapack to related files
2022-05-02 21:14:39 -05:00
Luis Tejeda
2fefe62dc1
Add dfs algorithm
...
Add dfs algorithm
2022-05-02 21:14:39 -05:00
Luis Tejeda
0b03a26d1c
Add default version to response
...
Add default version to response
2022-05-02 21:14:39 -05:00
Luis Tejeda
8245b36f2d
add support for empty content
...
no content and multi version example
2022-05-02 21:14:39 -05:00
Luis Tejeda
30cc74b720
add multiple versions support
...
add multiple versions support
2022-05-02 21:14:36 -05:00
Luis Tejeda
36e83721dd
Added first scenarios
...
Added first scenarios
2022-05-02 21:09:50 -05:00
Luis Tejeda
006c3de8a8
Update schemaUtils.js
...
Fix issue
2022-05-02 21:09:50 -05:00
Luis Tejeda
d226580b52
Add test and code improvements
...
Add test and code improvements
2022-05-02 21:09:50 -05:00
Luis Tejeda
ac9df06e84
support for value prop in example
...
Add support for value prop in example
2022-05-02 21:09:50 -05:00
Luis Tejeda
04419abe2c
Update schemaUtils.js
...
Use of existing getRefObject
2022-04-22 10:05:03 -05:00
Luis Tejeda
8c657f3184
Update schemaUtils.js
...
Fix issue
2022-04-13 16:04:21 -05:00
Luis Tejeda
2b6a1b7637
Add test and code improvements
...
Add test and code improvements
2022-04-13 12:03:50 -05:00
Luis Tejeda
0d59e40b3a
support for value prop in example
...
Add support for value prop in example
2022-04-12 16:51:58 -05:00
Luis Tejeda
a34abfd649
Change deepObject generation
...
Change deepObject generation
2022-04-12 11:31:34 -05:00
Luis Tejeda
bc8110904d
Change algorithm
...
instead of looking for the servers we just take the number of segments in the Spec path from the request url
2022-03-28 13:44:23 -06:00
Luis Tejeda
8f0aea51ca
match with servers
...
Match a request url with a path using the explicitly defined servers
2022-03-25 13:00:37 -06:00
Erik Mendoza
06b4d77610
Change INVALID_VALUE to MISSING_IN_REQUEST, actualValue is now the varPath object from the transaction, suggestedValue is the object faked from the schema
2022-03-16 15:50:56 -06:00
Erik Mendoza
a5af6ae931
Fix typo, change INVALID_VALUE reason message
2022-03-14 11:33:19 -06:00
Erik Mendoza
13c451e455
Fix the suggestedValue when reason code is INVALID_VALUE, validating the suggestedFix values in related tests
2022-03-14 11:33:19 -06:00
Erik Mendoza
44c4d2ed54
Fixing issue #478 , path variables matching validation
...
The path variables provided in transactions will be validated with the path variables in spec. If they does not match it will be generated a mismatch with INVALID_VALUE reasonCode.
2022-03-14 11:22:34 -06:00
Erik Mendoza
4b3555a97f
Adding invalid value scenario in path variables validation when there are path variables in global servers
2022-03-14 11:22:34 -06:00
Erik Mendoza
6f5fc3173b
Set new mismatch reason and reasonCode in path validation when path variables from transaction does not match with path variables in schema, Adding the same scenario when there are local servers in validating path
2022-03-14 11:22:34 -06:00
Vishal Shingala
df174ebe5f
Merge pull request #481 from postmanlabs/fix479/valueTypes
...
values like <integer> in validation
2022-03-14 21:06:54 +05:30
Vishal Shingala
298f731438
Merge pull request #487 from postmanlabs/fix10229/falsyExamples
...
Fix10229/falsy examples
2022-03-03 10:44:52 +05:30
Luis Tejeda
2582587358
Merge branch 'develop' into fix479/valueTypes
2022-03-01 09:26:24 -06:00
Luis Tejeda
d91284547c
Add type validation in params, queries headers
...
Add type validation in params, queries headers. Extract common functionality.
2022-02-28 16:23:22 -06:00
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
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
Vishal Shingala
d6ad9133d4
Removed usage of schema resolution cache to avoid incorrect resolution
2022-02-17 12:11:37 +05:30
Vishal Shingala
e6065048c0
Updated resolution of schemas to not happen before hand making sure both validation and coversion flows has same input schema
2022-02-16 18:18:03 +05:30
Erik Mendoza
91762c6fd0
Fix fallback operationId>summary>description>path+method
2022-02-10 12:23:14 -06:00
Erik Mendoza
0aaa953e35
Adding descriptions as fallback in webhooks name, Avoid webhooks folder creation when there are not any webhook in the file and includeWebhooks is true, ignoring local and global servers in webhooks
2022-02-10 11:33:07 -06:00
umeshp7
d8c16ea74a
Revert webhooks related changes for validation
2022-02-09 18:22:43 +05:30
Luis Tejeda
f5f54e8af1
Merge branch 'removeAjv4UseAjv6' into feature/sync-develop-and-split-develop
2022-02-08 15:30:34 -06:00
umeshp7
3368be1528
Merge branch 'develop' into feature/sync-develop-and-split-develop
2022-02-08 20:25:03 +05:30
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
Luis Tejeda
e2d324aa4a
support for defined schema dialect property on validate transaction
2022-02-03 12:24:50 -06:00
Vishal Shingala
d0ebb83631
To not add accept if already present in request
2022-02-01 12:46:00 +05:30