Commit Graph

11 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
Luis Tejeda
8c9a8f25f9 add scenario where other than first example match any type 2022-02-02 18:30:58 -06:00
Luis Tejeda
c5e8394672 Update schemaUtils31X.js
refactoring
2022-02-02 16:28:51 -06:00
Luis Tejeda
70c4e3181a select type according to example if exists 2022-02-02 15:53:50 -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
Luis Tejeda
c69b991fca avoid infinite loop on circular references 2021-12-17 11:53:16 -06:00
Erik Mendoza
7441dd9d40 Adding support for all outer properties in schema with $ref 2021-12-15 18:14:37 -06:00
Erik Mendoza
ee8e6da5a4 Adding support to nested schemas with examples, adding support to nested types as array, adding support to outer required property in deref 2021-12-14 22:29:22 -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