Erik Mendoza
2c8b7a5b8d
fix jsDoc warning
2022-07-05 10:35:36 -05:00
Erik Mendoza
ec803ba0e1
Support root components referenced from external files
2022-07-04 20:12:52 -05:00
Luis Tejeda
8c2af3648f
Merge branch 'feature/swagger20BundleSupport' into feat/fixLongPaths20
2022-06-22 12:20:30 -05:00
Erik Mendoza
9441394461
Handling collisions
...
- Handle external collisions generated from the naming strategy
- Handle local collisions generated by a same named component in local components objects and a new key generated from bundle
2022-06-21 20:23:58 -05:00
Luis Tejeda
ad1baee51c
fix long paths
...
fix long paths
2022-06-21 16:47:41 -05:00
Luis Tejeda
3f1f1e4a37
Merge branch 'split/develop/multiFileSupport' into feature/swagger20BundleSupport
2022-06-16 16:23:36 -05:00
Erik Mendoza
9500ea6bfa
Refactoring bundle rules resolving 2.0, 3.0 and 3.1
...
- Moving data for each version to different files
- Generalizing rule resolvers for all versions
- Replacing each version getKeyInComponents to use the generalized one
- Removing all componentsParentMatcher files
- Updating new constant sources in bundle.js
2022-06-16 10:24:16 -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
6e192043d3
Refactoring
...
refactoring
2022-06-15 16:41:43 -05:00
Luis Tejeda
9a555ca003
Add test 3.1
...
add test for webhooks and path item in components
2022-06-14 13:29:51 -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
144138c63d
Applying naming changes to expected files
...
- Fix expected files
- Fix jsonPointer tests
- Adding a missing test in bundle
- Adding changes related with the naming
2022-06-10 20:44:24 -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
d289dd0fdc
Fix defintions replacing instead of merging
...
Fix defintions replacing instead of merging
2022-06-01 14:09:35 -05:00
Erik Mendoza
caf725e997
Adding new tests for 2.0 version
2022-06-01 12:17:53 -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