Skip to content

Commit

Permalink
feat(ns-openapi-3-1): include hasElementSourceMap in toolbox (#3814)
Browse files Browse the repository at this point in the history
  • Loading branch information
char0n committed Feb 12, 2024
1 parent 42b78bc commit 3979541
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/apidom-ns-openapi-3-1/src/refractor/toolbox.ts
Expand Up @@ -6,6 +6,7 @@ import {
isMemberElement,
createNamespace,
includesClasses,
hasElementSourceMap,
} from '@swagger-api/apidom-core';
import { isServersElement } from '@swagger-api/apidom-ns-openapi-3-0';

Expand All @@ -20,6 +21,7 @@ export type Predicates = typeof openApi3_1Predicates & {
isMemberElement: typeof isMemberElement;
isServersElement: typeof isServersElement;
includesClasses: typeof includesClasses;
hasElementSourceMap: typeof hasElementSourceMap;
};

const createToolbox = () => {
Expand All @@ -33,6 +35,7 @@ const createToolbox = () => {
isMemberElement,
isServersElement,
includesClasses,
hasElementSourceMap,
};

return { predicates, namespace };
Expand Down

0 comments on commit 3979541

Please sign in to comment.