Commit Graph

557 Commits

Author SHA1 Message Date
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
810693abc1 Add format to parse result
Add format to parse result
2022-05-24 17:11:13 -05:00
Luis Tejeda
69906ff98a add test scenario 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
5a0784165f parse functions 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
Luis Tejeda
29ce252256 Delete bad imp of value prop
Delete bad imp of value prop
2022-05-11 12:22:23 -05:00
Erik Mendoza
d3028c21bc Fix DFS traverse method to avoid repeated items ins missing array 2022-05-02 21:14:40 -05:00
Carlos_Veloz
136d9a7fa0 pet store separated files 2022-05-02 21:14:40 -05:00
Luis Tejeda
250efcf23c Fix old node version issue
Fix old node version issue
2022-05-02 21:14:40 -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
e040455f46 Set path as null
set path as null instead of undefined
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
d4c2b9d331 calculate missing path and $ref
calculate missing path and $ref
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
0f23e60afd ignore web refs like http...
ignore web refs and fix the root location
2022-05-02 21:14:40 -05:00
Luis Tejeda
578943adfd circular ref scenario
circular ref scenario
2022-05-02 21:14:39 -05:00
Luis Tejeda
4a38a70d0b Avoid reporting local refs
Avoid reporting local refs
2022-05-02 21:14:39 -05:00
Luis Tejeda
2fea161d84 Add scenario one file pointing to root file
Add scenario one file pointing to root file
2022-05-02 21:14:39 -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
270fb5ce43 Add algorithm for adjacent and missing nodes
Add algorithm for adjacent and missing nodes
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
4fe12fbb0c Update detectRoot.test.js
fix typo
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
d226580b52 Add test and code improvements
Add test and code improvements
2022-05-02 21:09:50 -05:00
Luis Tejeda
ac9df06e84 support for value prop in example
Add support for value prop in example
2022-05-02 21:09:50 -05:00
Erik Mendoza
fa623d32c0 Fix swagger to openapi convertion
Removing async await implementation and using callback implementation instead.
Fixin the related tests
2022-04-28 16:38:18 -05:00
Erik Mendoza
bd33ad10b0 Solving comments
The convertion methods has been added fot the version 2.0
it was added a test to validate the convertSwaggerToOpenapi method.
convertSwaggerToOpenapi throws an error when it fails
2022-04-27 20:47:19 -05:00
Luis Tejeda
afbdbcbd46 Merge pull request #506 from postmanlabs/feature/SwaggerConvert
adding multifile swagger examples, adding tests to validate merging, …
2022-04-20 12:02:49 -05:00
Luis Tejeda
29344caa91 Merge branch 'develop' into feature/SwaggerConvert 2022-04-20 10:55:57 -05:00
Vishal Shingala
ade090cb9d Merge pull request #507 from postmanlabs/feature/fix-travis-issue
Fixed travis pipelines build issue for certain node version.
2022-04-20 15:00:37 +05:30
Vishal Shingala
4c860945e4 Fixed tests for travis.yaml to not include some of node versions 2022-04-20 11:10:30 +05:30
Erik Mendoza
ae43c43f6f adding multifile swagger examples, adding tests to validate merging, merge and validate support for swagger 20 2022-04-19 19:33:26 -05:00
Carlos_Veloz
1e40506157 updating error msgs 2022-04-19 10:29:31 -05:00
Erik Mendoza
90a191dc4c Removing duplicated tests 2022-04-14 15:17:40 -05:00
Erik Mendoza
0f213a5168 Adding tests to convertion in swagger 20 2022-04-14 14:52:26 -05:00
Erik Mendoza
888bd70565 Adding swagger support in convert 2022-04-14 14:50:14 -05:00
Erik Mendoza
42584d5d3b Removing some unecessary comments 2022-04-13 10:50:36 -05:00
Luis Tejeda
a34abfd649 Change deepObject generation
Change deepObject generation
2022-04-12 11:31:34 -05:00
Erik Mendoza
156e8b8436 Parse, getOptions, getMetadata and validate methods
Some methods has been moved and integrated to openapi to postman.
Scenarios related with folder input type are missing but they will be added in next tasks
2022-04-08 15:51:13 -05:00
Vishal Shingala
df174ebe5f Merge pull request #481 from postmanlabs/fix479/valueTypes
values like <integer> in validation
2022-03-14 21:06:54 +05:30
Luis Tejeda
adde11a1d5 add format scenarios
added support for:
date-time, date, float, double, and verification for byte, binary and password
2022-03-09 13:02:12 -06:00
Luis Tejeda
1d5b475cfa Update deref.test.js
remove commented line
2022-03-07 10:26:31 -06:00
Luis Tejeda
aec94b7f03 Add testing scenarios and simplify into one file
Add testing scenarios and simplify into one file (compose object in prams)
2022-03-07 10:07:30 -06:00
Luis Tejeda
a22700bc96 Add support for int64 format
Add support for int 64 format
2022-03-04 17:43:12 -06:00