diff --git a/packages/apidom-reference/package.json b/packages/apidom-reference/package.json index 30c3c9ad86..7c0d12bfbf 100644 --- a/packages/apidom-reference/package.json +++ b/packages/apidom-reference/package.json @@ -149,6 +149,16 @@ "require": "./cjs/dereference/strategies/openapi-3-1/index.cjs", "types": "./types/dereference/strategies/openapi-3-1/index.d.ts" }, + "./dereference/strategies/openapi-3-1/selectors/$anchor": { + "import": "./es/dereference/strategies/openapi-3-1/selectors/$anchor/index.js", + "require": "./cjs/dereference/strategies/openapi-3-1/selectors/$anchor/index.cjs", + "types": "./types/dereference/strategies/openapi-3-1/selectors/$anchor/index.d.ts" + }, + "./dereference/strategies/openapi-3-1/selectors/uri": { + "import": "./es/dereference/strategies/openapi-3-1/selectors/uri/index.js", + "require": "./cjs/dereference/strategies/openapi-3-1/selectors/uri/index.cjs", + "types": "./types/dereference/strategies/openapi-3-1/selectors/uri/index.d.ts" + }, "./dereference/strategies/openapi-3-1-swagger-client": { "import": "./es/dereference/strategies/openapi-3-1-swagger-client/index.js", "require": "./cjs/dereference/strategies/openapi-3-1-swagger-client/index.cjs", diff --git a/packages/apidom-reference/src/dereference/strategies/openapi-3-1/index.ts b/packages/apidom-reference/src/dereference/strategies/openapi-3-1/index.ts index bd744ba759..cbf426be4a 100644 --- a/packages/apidom-reference/src/dereference/strategies/openapi-3-1/index.ts +++ b/packages/apidom-reference/src/dereference/strategies/openapi-3-1/index.ts @@ -72,4 +72,10 @@ const OpenApi3_1DereferenceStrategy: stampit.Stamp = stamp }, ); +export { OpenApi3_1DereferenceVisitor }; +export { + resolveSchema$refField, + maybeRefractToSchemaElement, +} from '../../../resolve/strategies/openapi-3-1/util'; + export default OpenApi3_1DereferenceStrategy; diff --git a/packages/apidom-reference/src/dereference/strategies/openapi-3-1/selectors/$anchor/index.ts b/packages/apidom-reference/src/dereference/strategies/openapi-3-1/selectors/$anchor/index.ts index 949a330ec7..bcbfc94888 100644 --- a/packages/apidom-reference/src/dereference/strategies/openapi-3-1/selectors/$anchor/index.ts +++ b/packages/apidom-reference/src/dereference/strategies/openapi-3-1/selectors/$anchor/index.ts @@ -45,3 +45,5 @@ export const evaluate = (anchor: string, element: T): Element // @ts-ignore return result; }; + +export { EvaluationJsonSchema$anchorError, InvalidJsonSchema$anchorError }; diff --git a/packages/apidom-reference/src/dereference/strategies/openapi-3-1/selectors/uri/index.ts b/packages/apidom-reference/src/dereference/strategies/openapi-3-1/selectors/uri/index.ts index a06331471d..cbbaba772b 100644 --- a/packages/apidom-reference/src/dereference/strategies/openapi-3-1/selectors/uri/index.ts +++ b/packages/apidom-reference/src/dereference/strategies/openapi-3-1/selectors/uri/index.ts @@ -43,3 +43,5 @@ export const evaluate = (uri: string, element: T): Element | // @ts-ignore return fragmentEvaluate(selector, result); }; + +export { EvaluationJsonSchemaUriError };