Ankit Saini
17622a4104
Merge branch 'split/develop/multiFileSupport' of github.com:postmanlabs/openapi-to-postman into feature/add-reference-map-bundle
2022-06-22 10:47:45 +05:30
Erik Mendoza
7c2b2282d8
Merge pull request #561 from postmanlabs/fix/outputjson
...
change json output formt
2022-06-17 10:38:51 -05:00
Luis Tejeda
127964d4b9
change json output formt
2022-06-17 10:23:42 -05:00
Ankit Saini
1a2f9c97ca
Add a reference map to bundle output
2022-06-17 10:29:34 +05:30
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
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
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
Carlos-Veloz
7a7a8ab260
Merge pull request #552 from postmanlabs/feature/oneOfAnyOfAndNotTests30
...
Adding tests to 3.0
2022-06-15 08:48:32 -05:00
Erik Mendoza
ff2c80cbc4
Adding tests to 3.0
...
- anyOf
- not
- oneOf
2022-06-14 17:49:35 -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
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
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
Carlos-Veloz
43c986d99a
Merge pull request #544 from postmanlabs/fix/referencedComponents
...
Fix/referenced components
2022-06-13 17:31:50 -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
b05958d308
rename files
...
rename files
2022-06-13 13:38:21 -05:00
Luis Tejeda
9078e2ad91
Add callback and security schemes support
...
Add callback and security schemes support
2022-06-13 12:35:59 -05:00
Luis Tejeda
4f5958534f
Change test expected
...
Change test expected
2022-06-13 10:01:33 -05:00
Luis Tejeda
c928780fef
Merge branch 'split/develop/multiFileSupport' into fix/referencedComponents
2022-06-13 09:53:40 -05:00
Vishal Shingala
e2dd5aec02
Merge pull request #543 from postmanlabs/feature/root-file-fix-throw
...
Don't throw error in `detectRootFiles` if function if supplied with an invalid file.
2022-06-13 14:14:44 +05:30
Ankit Saini
09a2f49084
Fix lint error
2022-06-13 13:02:21 +05:30
Ankit Saini
8d465a33a6
Don't throw error if invalid file given as input for detectRootFiles
2022-06-11 08:44:26 +05:30
Luis Tejeda
530d47ef40
Merge pull request #541 from postmanlabs/fix/changeReferencesNaming
...
Changing the way the object keys are generated
2022-06-10 18:50:49 -05:00
Erik Mendoza
2cc75ebd26
Changing the way the object keys are generated
2022-06-10 17:30:17 -05:00
Luis Tejeda
812565e7e2
Added support for components
...
Added support for components
2022-06-10 17:28:49 -05:00
Erik Mendoza
83eb8bf16e
Merge pull request #540 from postmanlabs/fix/correctNameMultiRoot
...
fix add correct to root name in result
2022-06-09 18:53:06 -05:00
Luis Tejeda
9896b24d81
add correct to root name in result
...
add correct to root name in result
2022-06-09 18:25:23 -05:00
Erik Mendoza
d5bfeab1f7
Merge pull request #539 from postmanlabs/feat/AddRootDetectionAgain
...
Feat/add root detection again
2022-06-09 16:18:47 -05:00
Erik Mendoza
a00d730598
fixing typo
2022-06-09 16:10:12 -05:00
Erik Mendoza
a03b88ebcf
Merge pull request #538 from postmanlabs/fix/formatForEachroot
...
Fix/format for eachroot
2022-06-09 15:56:32 -05:00
Luis Tejeda
9b9164c0c2
Add root detection
...
Add root detection in bundle and detect related files
2022-06-09 12:16:11 -05:00
Luis Tejeda
e2a7b3fb05
removed commented line'
2022-06-09 11:54:21 -05:00
Luis Tejeda
642de55832
Merge branch 'split/develop/multiFileSupport' into fix/formatForEachroot
2022-06-09 11:50:38 -05:00
Luis Tejeda
775682b7c3
Take format from root
...
take the format of each root when the option for the process is not present
2022-06-09 11:46:23 -05:00
Carlos-Veloz
654c2f0d3b
Merge pull request #537 from postmanlabs/fix/PropertiesResolving
...
Fix/properties resolving
2022-06-09 11:34:38 -05:00
Carlos_Veloz
7e5cac74ee
removing duplicated tests
2022-06-09 10:51:38 -05:00
Erik Mendoza
533faeba82
Adding missing data in test
...
- Adding missing data
- Fixing style in bundle.test.js file
2022-06-08 18:37:02 -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
Erik Mendoza
b9a01676de
Merge pull request #536 from postmanlabs/fix/bundleRootWithContent
...
bundle only found content
2022-06-08 17:20:10 -05:00
Luis Tejeda
fcf43811d0
Update bundle.test.js
2022-06-08 17:07:57 -05:00
Luis Tejeda
bb3a3c00d9
Change defatult version
...
change the default version from 3.0.0 to 3.0 and validate incorrect input.type value (different than multiFile)
2022-06-08 16:51:56 -05:00
Luis Tejeda
c0254456ae
bundle only found content
...
bundle only the files that has content and add test for filtering root files in bundle according to the version.
2022-06-08 13:12:57 -05:00
Erik Mendoza
b1ad029ed1
Merge pull request #535 from postmanlabs/fix/lookRootContentOnData
...
look for the root content in data array
2022-06-08 12:23:40 -05:00
Luis Tejeda
eafe766c8b
look for the root content in data array
...
look for the root content in the data array instead of expecting content to be present in the root object
2022-06-07 16:46:43 -05:00
Erik Mendoza
73f550a52b
Merge pull request #533 from postmanlabs/fix/typeAndMultiRes
...
Fix/type and multi res
2022-06-07 16:03:49 -05:00
Erik Mendoza
90059f53fa
Merge pull request #532 from postmanlabs/fix/multifileSupport
...
Fix input validation in multi file APIs
2022-06-06 18:39:12 -05:00
Luis Tejeda
0a81fd8a96
Folder for multifile and multi data res
...
Change the use of folder and now use multiFile as option type value.
Return a JS object instead of a json string
return a data array in response
2022-06-06 17:14:08 -05:00