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
Vishal Shingala
76944f931f
Merge branch 'split/develop/swaggerModuleIntegration' of github.com:postmanlabs/openapi-to-postman into split/develop/multiFileSupport
2022-05-31 15:43:21 +05:30
Erik Mendoza
9a453e72cd
Merge pull request #522 from postmanlabs/feature/processingNodes
...
Feature/processing nodes
2022-05-27 19:54:38 -05:00
Luis Tejeda
e2035a5f19
Fix PR request changes
...
Fix PR request changes
2022-05-27 16:09:23 -05:00
Luis Tejeda
3e62efcf4a
PR requested changes
...
PR requested changes
2022-05-27 12:21:38 -05:00
Ankit Saini
f5dfefd9c7
Fix detectRootFiles not working in browser
2022-05-27 11:43:07 +05:30
Erik Mendoza
6223594703
Adding components generation
2022-05-24 17:11:13 -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
0f23e60afd
ignore web refs like http...
...
ignore web refs and fix the root location
2022-05-02 21:14:40 -05:00
Luis Tejeda
2fefe62dc1
Add dfs algorithm
...
Add dfs algorithm
2022-05-02 21:14:39 -05:00
Luis Tejeda
e98d8af870
remove unnecesary method
...
remove unnecesary method
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
f200446d92
Update schemapack.js
...
Add method description
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
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
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
Erik Mendoza
6078a961f9
Adding swagger support in convert
2022-04-14 14:51:28 -05:00
Erik Mendoza
888bd70565
Adding swagger support in convert
2022-04-14 14:50:14 -05:00
Luis Tejeda
50ba85ce68
Change validation input when version is 3.1.x
...
if the option includeWebhooks is false and there are no paths (only webhooks or componentes) throw error.
2022-02-09 12:46:31 -06:00
umeshp7
3368be1528
Merge branch 'develop' into feature/sync-develop-and-split-develop
2022-02-08 20:25:03 +05:30
Luis Tejeda
e2d324aa4a
support for defined schema dialect property on validate transaction
2022-02-03 12:24:50 -06:00
Vishal Shingala
8bce10359f
Fixed default indentation for space from 1 char space to 2 chars
2022-02-01 12:06:35 +05:30
Erik Mendoza
27465dbadd
Fix getOptions function, now version must be send inner the criteria object, adding webhooks support in convertion process, adding related tests to supported scenarios
2022-01-26 22:37:32 -06:00
Erik Mendoza
ded6161ea3
mergeAndValidate support, addign some methods to get the version from inputs provided as folder, adding unit tests, fix schema utils reference in mergeAndValidate
2022-01-11 21:15:18 -06:00
Erik Mendoza
da4fae4977
validating transactions from openapi 3.1 spec, upgrading ajv library, adding tests to new scenarios
2022-01-03 10:21:43 -06:00
Erik Mendoza
53be2a14bb
Removing some commented code, adding version value to concrete schemaUtils
2021-12-08 14:16:44 -06:00
Erik Mendoza
34f31e9931
Fix conversion process for openapi 3.1, adding schemaUtils31X and schemaUtils30X, adding unit tests
2021-12-07 21:52:51 -06:00
Erik Mendoza
b5d53fb54b
Getting spec version based on the input data and type
2021-11-26 14:42:46 -06:00
Luis Tejeda
d6fa8832eb
Added test for 31x
...
Added test for 31x
2021-11-26 14:42:46 -06:00
Luis Tejeda
79863f3fea
Update schemapack.js
...
Return to schemapack version handling and remove schemapack services
2021-11-26 14:37:28 -06:00
Vishal Shingala
e6b3bb464d
Fixed issue where validation was giving INVALID_TYPE instead of MISSING_IN_REQUEST if path variable is not present in transaction
2021-10-05 13:01:39 +05:30
umeshp7
ef929f147e
Use browser as top level const
2021-06-23 10:08:12 +05:30
umeshp7
2381497122
Add handling for browser in getRootFiles function
2021-06-15 15:29:56 +05:30
umeshp7
2f35ade6fd
Use pathBrowserify when origin is browser
2021-06-14 23:17:29 +05:30
Vishal Shingala
490aa6bbf0
Merge branch 'develop' of github.com:postmanlabs/openapi-to-postman into feature/windows-import-folder-fix
2021-01-28 18:50:08 +05:30
Vishal Shingala
b9306731b0
Fixed issue where collection did not contain name for specification with empty string as title
2021-01-28 16:31:11 +05:30
Vishal Shingala
f9bda0276a
Use process instead of window to decide path module to facilitate electron apps
2020-12-29 02:08:52 +05:30
Vishal Shingala
bdd163fca6
Fixed issue with import folder flow on windows
2020-12-21 12:02:57 +05:30
Vishal Shingala
b5f9fb1c49
Added support for Auth params in response/example. ( #286 )
...
* Added support for correct auth params in original request of response
* Updated collection json schema to latest
* Added tests for feature - response auth params support
* Moved auth params in response behind an option
* Updated option name and description to follow consistent casing
* Updated option id for including auth params in response to be more suitable
Co-authored-by: Vishal Shingala <vishalkumar.shingala@postman.com >
2020-09-09 12:28:17 +05:30
Vishal Shingala
1215d9de15
Added support for internal $ref resolution in validation flows
2020-09-01 17:55:51 +05:30
umeshp7
e4c8bcf6a1
fix incorrect variable calling
2020-07-17 12:15:24 +05:30
umeshp7
d555e1f791
Add missing variable
2020-07-15 01:21:30 +05:30
umeshp7
782e213e5d
Merge develop into performance-improvements
2020-07-14 15:56:22 +05:30
Vishal Shingala
0a2c221d29
Added support for collection variables for local servers in suggested request for validation. ( #247 )
...
* Added support for collection variables for local servers in suggested request
* Suggest collection variable from baseUrl and vars if no path level servers are defined
* Keep endpoint prop same across all schema
* Fixed invalid Url and collection variable when path level server was present
* To not include variable generated from empty server object
* Rebased branch to update variable name handling in missing endpoint suggestion
* Updated variable name handling to more readable format
* fixed wrong checking for path level servers
* Fixed issue where path level server was always picked up
* Fixed failing test
Co-authored-by: Vishal Shingala <vishalkumar.shingala@postman.com >
Co-authored-by: Abhijit Kane <abhijitkane@gmail.com >
2020-07-14 11:23:17 +05:30
umeshp7
a26d59fd45
Merge branch 'develop' into feature/performance-improvements
2020-07-08 16:48:58 +05:30
umeshp7
7a8103eff7
Use optimizeConversion in validateTransaction function
2020-07-08 10:58:26 +05:30
umeshp7
7ab167aa94
Add a global conversion option called optimizeConversion
2020-07-08 10:38:26 +05:30