Commit Graph

22 Commits

Author SHA1 Message Date
Luis Tejeda
041ab9dabe Fix replace all
use replace and a global regex instead of  replaceAll
2022-07-07 12:57:26 -05:00
Luis Tejeda
0ec3f24b9c Fix resolve examples 2022-07-07 12:46:45 -05:00
Erik Mendoza
60320a9b37 support referenced components in root 2022-07-04 19:05:25 -05:00
Luis Tejeda
eebb2f35f8 merge
merge
2022-06-22 12:38:01 -05:00
Erik Mendoza
e5a46263c5 Adding support to handle collisions
- Handle external collisions. When the naming strategy creates a collision
- Handle local collisions. When the bundle teies to create a key that already exists in the local components object definitions

Removing some outdated tests from getKeyInComponents
2022-06-22 11:39:20 -05:00
Luis Tejeda
1293d96974 Fix long paths
Remove common subpaths in references
2022-06-21 16:27:55 -05:00
Erik Mendoza
183bc1eb27 Refactor rule resolver 3.0 and 3.1
- Moving each bundling version rules to new files
- Removing componentsParentMatcher files
- Replacing the getKeyInComponents for each version by a generalized one
- Adding a method to get the version bundling data by version
- Replacing the new sources in files
2022-06-16 00:41:49 -05:00
Luis Tejeda
6ade03062a Add reusable referenced path item object
Add reusable referenced path item object
2022-06-14 12:25:48 -05:00
Erik Mendoza
2cc75ebd26 Changing the way the object keys are generated 2022-06-10 17:30:17 -05:00
Erik Mendoza
446e8651e5 Resolving properties as a reusable component
Resolve each property as a different schema instead of inline
2022-06-08 18:15:03 -05:00
Luis Tejeda
e2035a5f19 Fix PR request changes
Fix PR request changes
2022-05-27 16:09:23 -05:00
Erik Mendoza
83728a67d3 solving node 8 error 2022-05-27 11:26:00 -05:00
Erik Mendoza
e701cf356e removing unused method in bundle 2022-05-27 11:15:23 -05:00
Erik Mendoza
74ca402524 Adding support to test scenarios
- same reference value from different sources
- nested references from components in root
- multiple nested references from components in root
- reference with local path from root components
2022-05-27 02:39:58 -05:00
Erik Mendoza
10524b0911 Adding tests to bundle items, adding support to parameters and schemas in composite components 2022-05-24 17:11:13 -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
6515609fb9 Add remote ref method and fix typo 2022-05-24 17:11:13 -05:00
Luis Tejeda
789f2e3522 constants extraction
constants extraction
2022-05-24 17:11:13 -05:00
Luis Tejeda
1a208ab0ed refactor
use only one getreferences method
2022-05-24 17:11:13 -05:00
Luis Tejeda
90960b7510 Get related entities
from an OAS entity get the local $ref entities
2022-05-24 17:11:13 -05:00
Luis Tejeda
414c7001bf getJsonPointerRelationToRoot. and getKeyInComponents
Added getJsonPointerRelationToRoot and  getKeyInComponents
2022-05-24 17:11:13 -05:00