Commit Graph

1593 Commits

Author SHA1 Message Date
Erik Mendoza
240fcde8fb Merge pull request #566 from postmanlabs/feat/fixLongPaths20
Feat/fix long paths20
2022-06-22 13:04:55 -05:00
Luis Tejeda
1754339889 Update jsonPointer.test.js
Add required parameter
2022-06-22 12:21:34 -05:00
Luis Tejeda
8c2af3648f Merge branch 'feature/swagger20BundleSupport' into feat/fixLongPaths20 2022-06-22 12:20:30 -05:00
Carlos-Veloz
29b575e647 Merge pull request #563 from postmanlabs/feature/bundleCollisionHandling3020
Feature/bundle collision handling3020
2022-06-22 10:41:36 -05:00
Erik Mendoza
a8ba605473 Fix and removing outdated getKeyInComponents tests
The getKeyInComponents method has changed and now it receives the component key after rename it using the current naming strategy.
2022-06-21 21:09:06 -05:00
Erik Mendoza
904c55715a Adding tests to 2.0 version 2022-06-21 20:44:15 -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
Carlos-Veloz
f451a75953 Merge pull request #562 from postmanlabs/fix/outputjson2
change json output format
2022-06-17 10:45:06 -05:00
Luis Tejeda
ac6c73209d change json output format 2022-06-17 10:33:34 -05:00
Luis Tejeda
3f1f1e4a37 Merge branch 'split/develop/multiFileSupport' into feature/swagger20BundleSupport 2022-06-16 16:23:36 -05:00
Carlos-Veloz
2b5f2012de Merge pull request #557 from postmanlabs/chore/RefactoringBundleRulesResolver203031
Refactoring bundle rules resolving 2.0, 3.0 and 3.1
2022-06-16 14:32:10 -05:00
Carlos-Veloz
7dcfbaad04 Merge pull request #556 from postmanlabs/chore/RefactoringBundleRulesResolver3031
Refactor rule resolver 3.0 and 3.1
2022-06-16 14:30:52 -05:00
Erik Mendoza
a53cbcdfcc moving 2.0 tests to a different file 2022-06-16 11:17:59 -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
Carlos-Veloz
3ae8880c26 Merge pull request #555 from postmanlabs/chore/refactorswagger20bundle
Chore/refactorswagger20bundle
2022-06-16 09:39:04 -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
Erik Mendoza
d799a66922 Merge pull request #554 from postmanlabs/fix/ValidateVersionBundle
Validate the version input
2022-06-15 18:23:35 -05:00
Luis Tejeda
0b78cf18a5 Validate if the input version is supported
Validate if the input version is supported
2022-06-15 18:08:34 -05:00
Luis Tejeda
dc7f2061e9 Update versionUtils.test.js 2022-06-15 17:06:06 -05:00
Luis Tejeda
2c0d63ff29 Validate the version input
Validate the version input
2022-06-15 17:01:33 -05:00
Luis Tejeda
6e192043d3 Refactoring
refactoring
2022-06-15 16:41:43 -05:00
Luis Tejeda
b0cba20c4a Merge pull request #553 from postmanlabs/feature/anyOfOneOfAndNotSupport3020
Adding composite tests 3.0
2022-06-15 15:52:38 -05:00
Luis Tejeda
d47666992d Update bundle.test.js 2022-06-15 15:32:48 -05:00
Erik Mendoza
2ea998509c removing spaces at the end in test files 2022-06-15 13:16:44 -05:00
Erik Mendoza
2722b2d26e Adding composite tests 3.0
- anyOf
- oneOf
- not

Those objects are not supported in 2.0 version
2022-06-15 13:06:31 -05:00
Carlos-Veloz
7a7a8ab260 Merge pull request #552 from postmanlabs/feature/oneOfAnyOfAndNotTests30
Adding tests to 3.0
2022-06-15 08:48:32 -05:00
Carlos-Veloz
f2d05dbcf9 Merge pull request #551 from postmanlabs/feat/response20
Feat/response20
2022-06-15 08:44:25 -05:00
Erik Mendoza
ff2c80cbc4 Adding tests to 3.0
- anyOf
- not
- oneOf
2022-06-14 17:49:35 -05:00
Luis Tejeda
ce6c486a94 Update bundle.test.js 2022-06-14 16:29:35 -05:00
Luis Tejeda
22325268c4 Merge branch 'feature/swagger20BundleSupport' into feat/response20 2022-06-14 16:26:27 -05:00
Luis Tejeda
f06aca545a Add support for reusable response
Add support for reusable response version swagger 2.0
2022-06-14 16:20:24 -05:00
Carlos-Veloz
0371d29ce3 Merge pull request #550 from postmanlabs/feat/pathItem31In20
Add test 3.1
2022-06-14 15:44:00 -05:00
Carlos-Veloz
8e12eaf603 Merge pull request #549 from postmanlabs/feat/pathItem31
Add reusable referenced path item object
2022-06-14 15:43:46 -05:00
Carlos-Veloz
72bba4ec85 Merge pull request #548 from postmanlabs/test/securSchemes20
Add test for security schemes v 2
2022-06-14 13:49:17 -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
771e863e2d Add webhook example 2022-06-14 13:02:07 -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
Luis Tejeda
835dcb27b2 Add test for security schemes v 2 2022-06-14 10:38:03 -05:00
Luis Tejeda
7c2d63f593 Merge pull request #546 from postmanlabs/feature/AllOfAndAdditionalProperties
Adding tests
2022-06-14 09:45:52 -05:00
Luis Tejeda
5c27400ebc Merge pull request #547 from postmanlabs/feature/allOfAndAdditionalProperties30
Adding tests
2022-06-14 09:45:10 -05:00
Erik Mendoza
04ccf4dcb5 Adding tests
- AdditionalProperties
- AllOf is already validated on petstore separated file
2022-06-13 18:39:03 -05:00
Erik Mendoza
7d8dc86462 Adding tests
- AdditionalProperties 3.0 and 2.0
- allOf 2.0 (it is included in petstore separated tests)
2022-06-13 18:24:10 -05:00
Carlos-Veloz
3f5e84b807 Merge pull request #545 from postmanlabs/fix/refprop20
Fix/refprop20
2022-06-13 17:32:00 -05:00
Carlos-Veloz
43c986d99a Merge pull request #544 from postmanlabs/fix/referencedComponents
Fix/referenced components
2022-06-13 17:31:50 -05:00
Luis Tejeda
361c5d8298 Delete unnecesary test
Delete unnecesary test
2022-06-13 16:40:05 -05:00
Luis Tejeda
2b7de3b4dc Merge branch 'fix/referencedComponents' into fix/refprop20 2022-06-13 15:00:32 -05:00
Erik Mendoza
f74efe1dcd moving the link scenario to the correct rule while resolving it
- fixing the expected file
- fixing the root file
2022-06-13 14:57:18 -05:00
Luis Tejeda
60008a3617 Merge branch 'fix/referencedComponents' into fix/refprop20 2022-06-13 13:38:41 -05:00
Luis Tejeda
b05958d308 rename files
rename files
2022-06-13 13:38:21 -05:00