main
Last change
on this file since 65b6638 was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
700 bytes
|
Line | |
---|
1 | import { isElement, isStringElement, isArrayElement, isObjectElement, isMemberElement, createNamespace, includesClasses } from '@swagger-api/apidom-core';
|
---|
2 | import { isServersElement } from '@swagger-api/apidom-ns-openapi-3-0';
|
---|
3 | import * as openApi3_1Predicates from "../predicates.mjs";
|
---|
4 | import openApi3_1Namespace from "../namespace.mjs";
|
---|
5 | const createToolbox = () => {
|
---|
6 | const namespace = createNamespace(openApi3_1Namespace);
|
---|
7 | const predicates = {
|
---|
8 | ...openApi3_1Predicates,
|
---|
9 | isElement,
|
---|
10 | isStringElement,
|
---|
11 | isArrayElement,
|
---|
12 | isObjectElement,
|
---|
13 | isMemberElement,
|
---|
14 | isServersElement,
|
---|
15 | includesClasses
|
---|
16 | };
|
---|
17 | return {
|
---|
18 | predicates,
|
---|
19 | namespace
|
---|
20 | };
|
---|
21 | };
|
---|
22 | export default createToolbox; |
---|
Note:
See
TracBrowser
for help on using the repository browser.