Commit Graph

39 Commits

Author SHA1 Message Date
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
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
Luis Tejeda
d6fa8832eb Added test for 31x
Added test for 31x
2021-11-26 14:42:46 -06:00
umeshp7
4071e4ca9f Safe handling for browser argument 2021-06-23 12:10:04 +05:30
umeshp7
ef929f147e Use browser as top level const 2021-06-23 10:08:12 +05:30
umeshp7
49a8bf75ee Update oas resolver and send browser option 2021-06-16 14:58: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
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
umeshp7
1e39c7f2dd Change default input for resolver 2020-06-19 21:50:19 +05:30
umeshp7
132195d7eb Add clarifying comments 2020-06-19 21:38:58 +05:30
umeshp7
0bbcb11953 Add appropriate comments wherever necessary 2020-06-19 21:36:08 +05:30
umeshp7
b53a26fdb3 Handle edge case for path resolution 2020-06-17 13:06:45 +05:30
umeshp7
5c0558cfa5 Add test for browser folder upload and add fix for other OSes using path-browserify 2020-06-17 02:12:57 +05:30
umeshp7
a56a0d99b4 Add oas-resolver-browser, remove branch link 2020-06-16 20:26:50 +05:30
umeshp7
f48b342a2d Updates for making oas resolver work on browser 2020-06-15 17:29:06 +05:30
shreys7
031de581e9 Fix the undefined text returned in error for invalid JSON/YAML 2020-05-14 12:14:57 +05:30
umeshp7
e64c7de329 Fix error handling for mergeAndValidate 2020-02-17 12:00:49 +05:30
umeshp7
3ebe86e542 Add jsdoc for new functions in parse.js 2020-02-05 12:40:48 +05:30
umeshp7
3e0e55d4bd Remove readSpecFile function 2020-01-24 16:02:42 +05:30
umeshp7
a2c665c95c Reusing parsing logic for oas 2020-01-24 14:51:45 +05:30
umeshp7
3f74a09abd Change validating logic, remove validateRoot function 2020-01-23 18:36:06 +05:30
umeshp7
3a89a0b02c Merge branch 'develop' into feature/support_for_multifiles 2020-01-07 14:36:21 +05:30
Abhijit Kane
7cc2d3fc54 Merge branch 'develop' into feature/new-api-and-validator 2019-12-20 16:38:06 +05:30
Abhijit Kane
3f551fd259 New SchemaPack API exposed, validatorAgainstHistory v1 2019-12-15 14:51:52 +05:30
Dhroov7
fcd54b1380 filtering collections from convertedSpec 2019-12-10 13:02:26 +05:30
Dhroov7
08c3136370 removed openapi spec from the result in validateRoot function 2019-12-10 00:27:42 +05:30
Dhroov7
5deb2c9e0f added check for https, changed behaviour of callback back to err throwing in convert function 2019-12-09 18:48:40 +05:30
Dhroov7
6648b4294b changed test name and fix falsy conditional statements 2019-12-09 12:52:39 +05:30
Dhroov7
e12a1afed7 consistency across checks in validateRoot 2019-12-09 12:17:49 +05:30
Dhroov7
abf9962aed changed the function name to mergeFiles 2019-12-09 11:49:01 +05:30
Dhroov7
825620979f removed unncessary callback from convert 2019-12-09 00:24:23 +05:30
Dhroov7
2cbaa1d7be some changes 2019-12-06 16:42:17 +05:30
Dhroov7
cf53c1c209 removed speccy and using oas-resolver 2019-12-06 14:06:58 +05:30
Dhroov7
7e963b0ba2 added support for multifile 2019-12-04 13:26:41 +05:30
Tuhin Khare
cc9ae425c4 Removed lint errors 2018-04-03 15:27:55 +05:30
Tuhin Khare
a4975368e9 Minor changes 2018-03-29 12:51:04 +05:30
Tuhin Khare
d2469c1af0 Added parser and validator functions 2018-03-22 16:08:45 +05:30