@kubb/adapter-oas 5.0.0-beta.4 → 5.0.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -49
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/src/adapter.ts +5 -1
- package/src/index.ts +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1946,6 +1946,9 @@ const adapterOas = (0, _kubb_core.createAdapter)((options) => {
|
|
|
1946
1946
|
get inputNode() {
|
|
1947
1947
|
return inputNode;
|
|
1948
1948
|
},
|
|
1949
|
+
async validate(input, options) {
|
|
1950
|
+
await validateDocument(await parseDocument(input), options);
|
|
1951
|
+
},
|
|
1949
1952
|
getImports(node, resolve) {
|
|
1950
1953
|
return _kubb_core.ast.collectImports({
|
|
1951
1954
|
node,
|
|
@@ -2006,8 +2009,5 @@ exports.HttpMethods = HttpMethods;
|
|
|
2006
2009
|
exports.adapterOas = adapterOas;
|
|
2007
2010
|
exports.adapterOasName = adapterOasName;
|
|
2008
2011
|
exports.mergeDocuments = mergeDocuments;
|
|
2009
|
-
exports.parseDocument = parseDocument;
|
|
2010
|
-
exports.parseFromConfig = parseFromConfig;
|
|
2011
|
-
exports.validateDocument = validateDocument;
|
|
2012
2012
|
|
|
2013
2013
|
//# sourceMappingURL=index.cjs.map
|