main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | "use strict";
|
---|
2 |
|
---|
3 | var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default;
|
---|
4 | var _interopRequireWildcard = require("@babel/runtime-corejs3/helpers/interopRequireWildcard").default;
|
---|
5 | exports.__esModule = true;
|
---|
6 | exports.default = void 0;
|
---|
7 | var _apidomCore = require("@swagger-api/apidom-core");
|
---|
8 | var _apidomNsOpenapi = require("@swagger-api/apidom-ns-openapi-3-0");
|
---|
9 | var openApi3_1Predicates = _interopRequireWildcard(require("../predicates.cjs"));
|
---|
10 | var _namespace = _interopRequireDefault(require("../namespace.cjs"));
|
---|
11 | const createToolbox = () => {
|
---|
12 | const namespace = (0, _apidomCore.createNamespace)(_namespace.default);
|
---|
13 | const predicates = {
|
---|
14 | ...openApi3_1Predicates,
|
---|
15 | isElement: _apidomCore.isElement,
|
---|
16 | isStringElement: _apidomCore.isStringElement,
|
---|
17 | isArrayElement: _apidomCore.isArrayElement,
|
---|
18 | isObjectElement: _apidomCore.isObjectElement,
|
---|
19 | isMemberElement: _apidomCore.isMemberElement,
|
---|
20 | isServersElement: _apidomNsOpenapi.isServersElement,
|
---|
21 | includesClasses: _apidomCore.includesClasses
|
---|
22 | };
|
---|
23 | return {
|
---|
24 | predicates,
|
---|
25 | namespace
|
---|
26 | };
|
---|
27 | };
|
---|
28 | var _default = exports.default = createToolbox; |
---|
Note:
See
TracBrowser
for help on using the repository browser.