Commit Graph

347 Commits

Author SHA1 Message Date
Vishal Shingala
3f271b72cd Fixed issue where disableBodyPruning option was not set to true for requests like GET, HEAD etc. with no request body 2022-07-13 18:59:38 +05:30
Vishal Shingala
5ea7b7d75e Merge branch 'develop' of github.com:postmanlabs/openapi-to-postman into split/develop/multiFileSupport 2022-07-12 21:11:37 +05:30
Luis Tejeda
a645bff961 Merge branch 'split/develop/multiFileSupport' into feature/swagger20BundleSupport 2022-06-24 11:25:37 -05:00
Vishal Shingala
ab2821584d Merge branch 'split/develop/multiFileSupport' of github.com:postmanlabs/openapi-to-postman into feature/add-reference-map-bundle 2022-06-24 11:36:45 +05:30
Luis Tejeda
920ea81dcc homologate from multifile 2022-06-23 11:26:03 -05:00
Vishal Shingala
65fbc0f730 Added support for getting reference map via option 2022-06-23 19:26:44 +05:30
Luis Tejeda
eed8a2c5d3 ignore invalid nodes
ignore invalid nodes
2022-06-22 17:49:31 -05:00
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
Luis Tejeda
ac6c73209d change json output format 2022-06-17 10:33:34 -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
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
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
6ade03062a Add reusable referenced path item object
Add reusable referenced path item object
2022-06-14 12:25:48 -05:00
Erik Mendoza
81cb60a452 Merge branch 'split/develop/multiFileSupport' into feature/swagger20BundleSupport 2022-06-09 18:39:20 -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
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
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
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
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
Luis Tejeda
4ccfa86271 Throw errors instead of returning reason
Throw errors instead of returning reason and throw errors if the entry has no root files
2022-06-06 15:58:09 -05:00
Luis Tejeda
2e73ed22bb Fix input validation in multi file APIs 2022-06-06 11:23:39 -05:00
Luis Tejeda
2e79c2755c Update schemaUtils.js 2022-06-03 17:10:19 -05:00
Luis Tejeda
7b5e68b2b6 Issue with empty roots bundle 2022-06-03 16:34:23 -05:00
Luis Tejeda
b7e2597cc1 Add input validation for Multifile APIs
Add input validation for Multifile APIs
2022-06-03 12:54:10 -05:00
Erik Mendoza
c82d50ed8d Adding safe parsing to the node's content parsing 2022-06-02 14:29: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
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