@scalar/openapi-parser 0.5.0 → 0.7.0
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/CHANGELOG.md +21 -0
- package/README.md +6 -6
- package/dist/lib/Validator/Validator.d.ts +1 -1
- package/dist/pipeline.d.ts +153 -210
- package/dist/src/index.d.ts +27 -0
- package/dist/src/index.js +0 -2
- package/dist/src/lib/Validator/Validator.js +1 -1
- package/dist/src/pipeline.js +15 -25
- package/dist/src/polyfills/path.js +3 -6
- package/dist/src/utils/filter.js +8 -3
- package/dist/src/utils/isYaml.js +3 -2
- package/dist/src/utils/load/load.js +19 -6
- package/dist/src/utils/load/plugins/fetchUrls.d.ts +17 -0
- package/dist/src/utils/load/plugins/{fetchUrlsPlugin.js → fetchUrls.js} +7 -7
- package/dist/src/utils/load/plugins/readFiles.d.ts +5 -0
- package/dist/src/utils/load/plugins/{readFilesPlugin.js → readFiles.js} +3 -3
- package/dist/src/utils/normalize.js +3 -1
- package/dist/src/utils/upgrade.js +5 -3
- package/dist/src/utils/upgradeFromThreeToThreeOne.js +3 -4
- package/dist/src/utils/workThroughQueue.js +24 -0
- package/dist/types/index.d.ts +23 -8
- package/dist/utils/dereference.d.ts +2 -2
- package/dist/utils/details.d.ts +2 -6
- package/dist/utils/filter.d.ts +2 -2
- package/dist/utils/load/load.d.ts +2 -2
- package/dist/utils/resolveReferences.d.ts +1 -1
- package/dist/utils/upgrade.d.ts +2 -2
- package/dist/webpack-stats.json +1 -1
- package/package.json +15 -4
- package/dist/index.d.ts +0 -29
- package/dist/utils/load/plugins/fetchUrlsPlugin.d.ts +0 -10
- package/dist/utils/load/plugins/readFilesPlugin.d.ts +0 -5
- /package/dist/types/{openapi.d.ts → openapi-types.d.ts} +0 -0
package/dist/index.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export { Validator, jsonSchemaVersions } from './lib/Validator/Validator.js';
|
|
2
|
-
export { ResolveReferencesResult, resolveReferences } from './utils/resolveReferences.js';
|
|
3
|
-
export { AjvOptions, AnyObject, ErrorObject, Filesystem, FilesystemEntry, ResolveResult, ValidateResult } from './types/index.js';
|
|
4
|
-
export { dereference } from './utils/dereference.js';
|
|
5
|
-
export { details } from './utils/details.js';
|
|
6
|
-
export { escapeJsonPointer } from './utils/escapeJsonPointer.js';
|
|
7
|
-
export { filter } from './utils/filter.js';
|
|
8
|
-
export { getEntrypoint } from './utils/getEntrypoint.js';
|
|
9
|
-
export { getListOfReferences } from './utils/getListOfReferences.js';
|
|
10
|
-
export { getSegmentsFromPath } from './utils/getSegmentsFromPath.js';
|
|
11
|
-
export { isFilesystem } from './utils/isFilesystem.js';
|
|
12
|
-
export { isJson } from './utils/isJson.js';
|
|
13
|
-
export { isObject } from './utils/isObject.js';
|
|
14
|
-
export { isYaml } from './utils/isYaml.js';
|
|
15
|
-
export { LoadPlugin, load } from './utils/load/load.js';
|
|
16
|
-
export { fetchUrlsPlugin, fetchUrlsPluginDefaultConfiguration } from './utils/load/plugins/fetchUrlsPlugin.js';
|
|
17
|
-
export { readFilesPlugin } from './utils/load/plugins/readFilesPlugin.js';
|
|
18
|
-
export { normalize } from './utils/normalize.js';
|
|
19
|
-
export { toJson } from './utils/toJson.js';
|
|
20
|
-
export { toYaml } from './utils/toYaml.js';
|
|
21
|
-
export { transformErrors } from './utils/transformErrors.js';
|
|
22
|
-
export { traverse } from './utils/traverse.js';
|
|
23
|
-
export { unescapeJsonPointer } from './utils/unescapeJsonPointer.js';
|
|
24
|
-
export { upgrade } from './utils/upgrade.js';
|
|
25
|
-
export { upgradeFromThreeToThreeOne } from './utils/upgradeFromThreeToThreeOne.js';
|
|
26
|
-
export { upgradeFromTwoToThree } from './utils/upgradeFromTwoToThree.js';
|
|
27
|
-
export { validate } from './utils/validate.js';
|
|
28
|
-
export { Action, AnyApiDefinitionFormat, Queue, openapi } from './pipeline.js';
|
|
29
|
-
export { OpenAPI, OpenAPIV2, OpenAPIV3, OpenAPIV3_1 } from './types/openapi.js';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { LoadPlugin } from '../load.js';
|
|
2
|
-
|
|
3
|
-
declare const fetchUrlsPluginDefaultConfiguration: {
|
|
4
|
-
limit: number;
|
|
5
|
-
};
|
|
6
|
-
declare const fetchUrlsPlugin: (customConfiguration?: {
|
|
7
|
-
limit?: number | false;
|
|
8
|
-
}) => LoadPlugin;
|
|
9
|
-
|
|
10
|
-
export { fetchUrlsPlugin, fetchUrlsPluginDefaultConfiguration };
|
|
File without changes
|