@visulima/jsdoc-open-api 3.0.0-alpha.9 → 3.0.1
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 +436 -0
- package/LICENSE.md +34 -0
- package/README.md +44 -33
- package/bin/index.js +12 -9
- package/dist/cli/commander/index.d.ts +1000 -2
- package/dist/cli/commander/index.js +1 -0
- package/dist/cli/index.d.ts +9 -2
- package/dist/cli/index.js +1 -0
- package/dist/index.d.ts +266 -7
- package/dist/index.js +1 -0
- package/dist/packem_shared/DEFAULT_OPTIONS-C7o6qjwP.js +1 -0
- package/dist/packem_shared/SpecBuilder-Vbq42UbW.js +1 -0
- package/dist/packem_shared/SwaggerCompilerPlugin-PUOALp2i.js +1 -0
- package/dist/packem_shared/constants-CdEv9ZcD.js +1 -0
- package/dist/packem_shared/customizer-BXFVpImq.js +1 -0
- package/dist/packem_shared/generateCommand-C_XPsbS6.js +5 -0
- package/dist/packem_shared/generateCommand-ClL9Mnc3.js +1 -0
- package/dist/packem_shared/initCommand-Ca1hGdYS.js +35 -0
- package/dist/packem_shared/initCommand-TixxsVQU.js +1 -0
- package/dist/packem_shared/jsDocumentCommentsToOpenApi-TjPhUj5G.js +1 -0
- package/dist/packem_shared/loadDefinition-7r9qpfuE.js +1 -0
- package/dist/packem_shared/parseFile-RDlR4tEF.js +1 -0
- package/dist/packem_shared/swaggerJsDocumentCommentsToOpenApi-Bm9R1BnW.js +10 -0
- package/dist/packem_shared/validate-9Rwe2A3r.js +1 -0
- package/dist/packem_shared/yamlLoc-DPq-xUM4.js +1 -0
- package/package.json +54 -74
- package/dist/cli/command/generate-command.d.cts +0 -7
- package/dist/cli/command/generate-command.d.mts +0 -7
- package/dist/cli/command/generate-command.d.ts +0 -7
- package/dist/cli/command/init-command.d.cts +0 -2
- package/dist/cli/command/init-command.d.mts +0 -2
- package/dist/cli/command/init-command.d.ts +0 -2
- package/dist/cli/commander/command/generate-command.d.cts +0 -3
- package/dist/cli/commander/command/generate-command.d.mts +0 -3
- package/dist/cli/commander/command/generate-command.d.ts +0 -3
- package/dist/cli/commander/command/init-command.d.cts +0 -3
- package/dist/cli/commander/command/init-command.d.mts +0 -3
- package/dist/cli/commander/command/init-command.d.ts +0 -3
- package/dist/cli/commander/index.cjs +0 -11
- package/dist/cli/commander/index.d.cts +0 -2
- package/dist/cli/commander/index.d.mts +0 -2
- package/dist/cli/commander/index.mjs +0 -2
- package/dist/cli/index.cjs +0 -11
- package/dist/cli/index.d.cts +0 -2
- package/dist/cli/index.d.mts +0 -2
- package/dist/cli/index.mjs +0 -2
- package/dist/constants.d.cts +0 -1
- package/dist/constants.d.mts +0 -1
- package/dist/constants.d.ts +0 -1
- package/dist/exported.d.cts +0 -198
- package/dist/exported.d.mts +0 -198
- package/dist/exported.d.ts +0 -198
- package/dist/index.cjs +0 -19
- package/dist/index.d.cts +0 -7
- package/dist/index.d.mts +0 -7
- package/dist/index.mjs +0 -6
- package/dist/jsdoc/comments-to-open-api.d.cts +0 -6
- package/dist/jsdoc/comments-to-open-api.d.mts +0 -6
- package/dist/jsdoc/comments-to-open-api.d.ts +0 -6
- package/dist/packem_shared/SpecBuilder-B7YiF7zR.mjs +0 -61
- package/dist/packem_shared/SpecBuilder-CCESkmm5.cjs +0 -63
- package/dist/packem_shared/SwaggerCompilerPlugin-BkYJzU4f.cjs +0 -88
- package/dist/packem_shared/SwaggerCompilerPlugin-DZ7tIJ8x.mjs +0 -86
- package/dist/packem_shared/customizer-CoMXMU7a.mjs +0 -8
- package/dist/packem_shared/customizer-DDFwFqJl.cjs +0 -10
- package/dist/packem_shared/generateCommand-DRMkfIle.mjs +0 -15
- package/dist/packem_shared/generateCommand-MwnCNgEE.cjs +0 -82
- package/dist/packem_shared/generateCommand-RY4QFtm7.cjs +0 -17
- package/dist/packem_shared/generateCommand-a9_RAbug.mjs +0 -80
- package/dist/packem_shared/initCommand-B6Z9EXHP.mjs +0 -15
- package/dist/packem_shared/initCommand-Ch-72dKZ.cjs +0 -65
- package/dist/packem_shared/initCommand-D3yVEMwO.cjs +0 -17
- package/dist/packem_shared/initCommand-zE4VRDGW.mjs +0 -63
- package/dist/packem_shared/jsDocumentCommentsToOpenApi-C7yMeXJ5.cjs +0 -337
- package/dist/packem_shared/jsDocumentCommentsToOpenApi-DtrIZ2lK.mjs +0 -331
- package/dist/packem_shared/parseFile-BE-sKiRK.mjs +0 -35
- package/dist/packem_shared/parseFile-Dk7Bw7lt.cjs +0 -42
- package/dist/packem_shared/swaggerJsDocumentCommentsToOpenApi-B7g9rVr5.mjs +0 -131
- package/dist/packem_shared/swaggerJsDocumentCommentsToOpenApi-BuB7eE94.cjs +0 -138
- package/dist/packem_shared/validate-DZHaKH07.mjs +0 -30
- package/dist/packem_shared/validate-FKieC3ln.cjs +0 -37
- package/dist/packem_shared/yamlLoc-C7iHWvdq.mjs +0 -14
- package/dist/packem_shared/yamlLoc-CEvBiR4K.cjs +0 -16
- package/dist/parse-file.d.cts +0 -9
- package/dist/parse-file.d.mts +0 -9
- package/dist/parse-file.d.ts +0 -9
- package/dist/spec-builder.d.cts +0 -14
- package/dist/spec-builder.d.mts +0 -14
- package/dist/spec-builder.d.ts +0 -14
- package/dist/swagger-jsdoc/comments-to-open-api.d.cts +0 -6
- package/dist/swagger-jsdoc/comments-to-open-api.d.mts +0 -6
- package/dist/swagger-jsdoc/comments-to-open-api.d.ts +0 -6
- package/dist/swagger-jsdoc/organize-swagger-object.d.cts +0 -7
- package/dist/swagger-jsdoc/organize-swagger-object.d.mts +0 -7
- package/dist/swagger-jsdoc/organize-swagger-object.d.ts +0 -7
- package/dist/swagger-jsdoc/utils.d.cts +0 -22
- package/dist/swagger-jsdoc/utils.d.mts +0 -22
- package/dist/swagger-jsdoc/utils.d.ts +0 -22
- package/dist/util/customizer.d.cts +0 -2
- package/dist/util/customizer.d.mts +0 -2
- package/dist/util/customizer.d.ts +0 -2
- package/dist/util/object-merge.d.cts +0 -2
- package/dist/util/object-merge.d.mts +0 -2
- package/dist/util/object-merge.d.ts +0 -2
- package/dist/util/yaml-loc.d.cts +0 -2
- package/dist/util/yaml-loc.d.mts +0 -2
- package/dist/util/yaml-loc.d.ts +0 -2
- package/dist/validate.d.cts +0 -2
- package/dist/validate.d.mts +0 -2
- package/dist/validate.d.ts +0 -2
- package/dist/webpack/swagger-compiler-plugin.d.cts +0 -15
- package/dist/webpack/swagger-compiler-plugin.d.mts +0 -15
- package/dist/webpack/swagger-compiler-plugin.d.ts +0 -15
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import SwaggerParser from '@apidevtools/swagger-parser';
|
|
2
|
-
|
|
3
|
-
const DEFAULT_EXCLUDE = [
|
|
4
|
-
"coverage/**",
|
|
5
|
-
".github/**",
|
|
6
|
-
"**/*.d.ts",
|
|
7
|
-
"**/test{,s}/**",
|
|
8
|
-
"**/test{,-*}.{js,cjs,mjs,ts,tsx,jsx,yaml,yml}",
|
|
9
|
-
"**/*{.,-}test.{js,cjs,mjs,ts,tsx,jsx,yaml,yml}",
|
|
10
|
-
"**/__tests__/**",
|
|
11
|
-
"**/{ava,babel,nyc}.config.{js,cjs,mjs}",
|
|
12
|
-
"**/jest.config.{js,cjs,mjs,ts}",
|
|
13
|
-
"**/{karma,rollup,webpack}.config.js",
|
|
14
|
-
"**/.{eslint,mocha}rc.{js,cjs}",
|
|
15
|
-
"**/.{travis,yarnrc}.yml",
|
|
16
|
-
"**/{docker-compose,docker}.yml",
|
|
17
|
-
"**/.yamllint.{yaml,yml}",
|
|
18
|
-
"**/node_modules/**",
|
|
19
|
-
"**/{pnpm-workspace,pnpm-lock}.yaml",
|
|
20
|
-
"**/{package,package-lock}.json",
|
|
21
|
-
"**/yarn.lock",
|
|
22
|
-
"**/package.json5",
|
|
23
|
-
"**/.next/**"
|
|
24
|
-
];
|
|
25
|
-
|
|
26
|
-
const validate = async (spec) => {
|
|
27
|
-
await SwaggerParser.validate(spec);
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
export { DEFAULT_EXCLUDE as D, validate as v };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const SwaggerParser = require('@apidevtools/swagger-parser');
|
|
4
|
-
|
|
5
|
-
const _interopDefaultCompat = e => e && typeof e === 'object' && 'default' in e ? e.default : e;
|
|
6
|
-
|
|
7
|
-
const SwaggerParser__default = /*#__PURE__*/_interopDefaultCompat(SwaggerParser);
|
|
8
|
-
|
|
9
|
-
const DEFAULT_EXCLUDE = [
|
|
10
|
-
"coverage/**",
|
|
11
|
-
".github/**",
|
|
12
|
-
"**/*.d.ts",
|
|
13
|
-
"**/test{,s}/**",
|
|
14
|
-
"**/test{,-*}.{js,cjs,mjs,ts,tsx,jsx,yaml,yml}",
|
|
15
|
-
"**/*{.,-}test.{js,cjs,mjs,ts,tsx,jsx,yaml,yml}",
|
|
16
|
-
"**/__tests__/**",
|
|
17
|
-
"**/{ava,babel,nyc}.config.{js,cjs,mjs}",
|
|
18
|
-
"**/jest.config.{js,cjs,mjs,ts}",
|
|
19
|
-
"**/{karma,rollup,webpack}.config.js",
|
|
20
|
-
"**/.{eslint,mocha}rc.{js,cjs}",
|
|
21
|
-
"**/.{travis,yarnrc}.yml",
|
|
22
|
-
"**/{docker-compose,docker}.yml",
|
|
23
|
-
"**/.yamllint.{yaml,yml}",
|
|
24
|
-
"**/node_modules/**",
|
|
25
|
-
"**/{pnpm-workspace,pnpm-lock}.yaml",
|
|
26
|
-
"**/{package,package-lock}.json",
|
|
27
|
-
"**/yarn.lock",
|
|
28
|
-
"**/package.json5",
|
|
29
|
-
"**/.next/**"
|
|
30
|
-
];
|
|
31
|
-
|
|
32
|
-
const validate = async (spec) => {
|
|
33
|
-
await SwaggerParser__default.validate(spec);
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
exports.DEFAULT_EXCLUDE = DEFAULT_EXCLUDE;
|
|
37
|
-
exports.validate = validate;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
const LINE_SPLIT_REGEX = /\r\n|\r|\n/u;
|
|
2
|
-
const COMMENT_OR_EMPTY_REGEX = /^\s*(#\s*(?:\S.*)?)?$/u;
|
|
3
|
-
const yamlLoc = (string) => {
|
|
4
|
-
const split = string.split(LINE_SPLIT_REGEX);
|
|
5
|
-
const filtered = split.filter((line) => {
|
|
6
|
-
if (COMMENT_OR_EMPTY_REGEX.test(line)) {
|
|
7
|
-
return false;
|
|
8
|
-
}
|
|
9
|
-
return line.trim().length > 0;
|
|
10
|
-
});
|
|
11
|
-
return filtered.length;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export { yamlLoc as default };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
const LINE_SPLIT_REGEX = /\r\n|\r|\n/u;
|
|
4
|
-
const COMMENT_OR_EMPTY_REGEX = /^\s*(#\s*(?:\S.*)?)?$/u;
|
|
5
|
-
const yamlLoc = (string) => {
|
|
6
|
-
const split = string.split(LINE_SPLIT_REGEX);
|
|
7
|
-
const filtered = split.filter((line) => {
|
|
8
|
-
if (COMMENT_OR_EMPTY_REGEX.test(line)) {
|
|
9
|
-
return false;
|
|
10
|
-
}
|
|
11
|
-
return line.trim().length > 0;
|
|
12
|
-
});
|
|
13
|
-
return filtered.length;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
module.exports = yamlLoc;
|
package/dist/parse-file.d.cts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { OpenApiObject } from "./exported.d.cts";
|
|
2
|
-
declare const parseFile: (file: string, commentsToOpenApi: (fileContent: string, verbose?: boolean) => {
|
|
3
|
-
loc: number;
|
|
4
|
-
spec: OpenApiObject;
|
|
5
|
-
}[], verbose?: boolean) => {
|
|
6
|
-
loc: number;
|
|
7
|
-
spec: OpenApiObject;
|
|
8
|
-
}[];
|
|
9
|
-
export = parseFile;
|
package/dist/parse-file.d.mts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { OpenApiObject } from "./exported.d.mts";
|
|
2
|
-
declare const parseFile: (file: string, commentsToOpenApi: (fileContent: string, verbose?: boolean) => {
|
|
3
|
-
loc: number;
|
|
4
|
-
spec: OpenApiObject;
|
|
5
|
-
}[], verbose?: boolean) => {
|
|
6
|
-
loc: number;
|
|
7
|
-
spec: OpenApiObject;
|
|
8
|
-
}[];
|
|
9
|
-
export default parseFile;
|
package/dist/parse-file.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { OpenApiObject } from "./exported.d.ts";
|
|
2
|
-
declare const parseFile: (file: string, commentsToOpenApi: (fileContent: string, verbose?: boolean) => {
|
|
3
|
-
loc: number;
|
|
4
|
-
spec: OpenApiObject;
|
|
5
|
-
}[], verbose?: boolean) => {
|
|
6
|
-
loc: number;
|
|
7
|
-
spec: OpenApiObject;
|
|
8
|
-
}[];
|
|
9
|
-
export = parseFile;
|
package/dist/spec-builder.d.cts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { BaseDefinition, ComponentsObject, ExternalDocumentationObject, InfoObject, OpenApiObject, PathsObject, SecurityRequirementObject, ServerObject, TagObject } from "./exported.d.cts";
|
|
2
|
-
declare class SpecBuilder implements OpenApiObject {
|
|
3
|
-
components?: ComponentsObject;
|
|
4
|
-
externalDocs?: ExternalDocumentationObject;
|
|
5
|
-
info: InfoObject;
|
|
6
|
-
openapi: string;
|
|
7
|
-
paths: PathsObject;
|
|
8
|
-
security?: SecurityRequirementObject[];
|
|
9
|
-
servers?: ServerObject[];
|
|
10
|
-
tags?: TagObject[];
|
|
11
|
-
constructor(baseDefinition: BaseDefinition);
|
|
12
|
-
addData(parsedFile: OpenApiObject[]): void;
|
|
13
|
-
}
|
|
14
|
-
export = SpecBuilder;
|
package/dist/spec-builder.d.mts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { BaseDefinition, ComponentsObject, ExternalDocumentationObject, InfoObject, OpenApiObject, PathsObject, SecurityRequirementObject, ServerObject, TagObject } from "./exported.d.mts";
|
|
2
|
-
declare class SpecBuilder implements OpenApiObject {
|
|
3
|
-
components?: ComponentsObject;
|
|
4
|
-
externalDocs?: ExternalDocumentationObject;
|
|
5
|
-
info: InfoObject;
|
|
6
|
-
openapi: string;
|
|
7
|
-
paths: PathsObject;
|
|
8
|
-
security?: SecurityRequirementObject[];
|
|
9
|
-
servers?: ServerObject[];
|
|
10
|
-
tags?: TagObject[];
|
|
11
|
-
constructor(baseDefinition: BaseDefinition);
|
|
12
|
-
addData(parsedFile: OpenApiObject[]): void;
|
|
13
|
-
}
|
|
14
|
-
export default SpecBuilder;
|
package/dist/spec-builder.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { BaseDefinition, ComponentsObject, ExternalDocumentationObject, InfoObject, OpenApiObject, PathsObject, SecurityRequirementObject, ServerObject, TagObject } from "./exported.d.ts";
|
|
2
|
-
declare class SpecBuilder implements OpenApiObject {
|
|
3
|
-
components?: ComponentsObject;
|
|
4
|
-
externalDocs?: ExternalDocumentationObject;
|
|
5
|
-
info: InfoObject;
|
|
6
|
-
openapi: string;
|
|
7
|
-
paths: PathsObject;
|
|
8
|
-
security?: SecurityRequirementObject[];
|
|
9
|
-
servers?: ServerObject[];
|
|
10
|
-
tags?: TagObject[];
|
|
11
|
-
constructor(baseDefinition: BaseDefinition);
|
|
12
|
-
addData(parsedFile: OpenApiObject[]): void;
|
|
13
|
-
}
|
|
14
|
-
export = SpecBuilder;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @param {object} swaggerObject
|
|
3
|
-
* @param {object} annotation
|
|
4
|
-
* @param {string} property
|
|
5
|
-
*/
|
|
6
|
-
declare const organizeSwaggerObject: (swaggerObject: Record<string, any>, annotation: Record<string, any>, property: string) => void;
|
|
7
|
-
export = organizeSwaggerObject;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @param {object} swaggerObject
|
|
3
|
-
* @param {object} annotation
|
|
4
|
-
* @param {string} property
|
|
5
|
-
*/
|
|
6
|
-
declare const organizeSwaggerObject: (swaggerObject: Record<string, any>, annotation: Record<string, any>, property: string) => void;
|
|
7
|
-
export default organizeSwaggerObject;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @param {object} swaggerObject
|
|
3
|
-
* @param {object} annotation
|
|
4
|
-
* @param {string} property
|
|
5
|
-
*/
|
|
6
|
-
declare const organizeSwaggerObject: (swaggerObject: Record<string, any>, annotation: Record<string, any>, property: string) => void;
|
|
7
|
-
export = organizeSwaggerObject;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { Spec } from "comment-parser";
|
|
2
|
-
/**
|
|
3
|
-
* A recursive deep-merge that ignores null values when merging.
|
|
4
|
-
* This returns the merged object and does not mutate.
|
|
5
|
-
* @param first the first object to get merged
|
|
6
|
-
* @param second the second object to get merged
|
|
7
|
-
*/
|
|
8
|
-
export declare const mergeDeep: (first?: object, second?: object) => object;
|
|
9
|
-
/**
|
|
10
|
-
* Checks if there is any properties of the input object which are an empty object.
|
|
11
|
-
* @param object the object to check
|
|
12
|
-
* @returns boolean
|
|
13
|
-
*/
|
|
14
|
-
export declare const hasEmptyProperty: (object: Record<string, any>) => boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Checks whether the given tag is present in tags.
|
|
17
|
-
* @param tag
|
|
18
|
-
* @param tags
|
|
19
|
-
* @returns boolean
|
|
20
|
-
*/
|
|
21
|
-
export declare const isTagPresentInTags: (tag: Spec, tags: Spec[]) => boolean;
|
|
22
|
-
export declare const getSwaggerVersionFromSpec: (tag: Spec) => "v2" | "v3" | "v4";
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { Spec } from "comment-parser";
|
|
2
|
-
/**
|
|
3
|
-
* A recursive deep-merge that ignores null values when merging.
|
|
4
|
-
* This returns the merged object and does not mutate.
|
|
5
|
-
* @param first the first object to get merged
|
|
6
|
-
* @param second the second object to get merged
|
|
7
|
-
*/
|
|
8
|
-
export declare const mergeDeep: (first?: object, second?: object) => object;
|
|
9
|
-
/**
|
|
10
|
-
* Checks if there is any properties of the input object which are an empty object.
|
|
11
|
-
* @param object the object to check
|
|
12
|
-
* @returns boolean
|
|
13
|
-
*/
|
|
14
|
-
export declare const hasEmptyProperty: (object: Record<string, any>) => boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Checks whether the given tag is present in tags.
|
|
17
|
-
* @param tag
|
|
18
|
-
* @param tags
|
|
19
|
-
* @returns boolean
|
|
20
|
-
*/
|
|
21
|
-
export declare const isTagPresentInTags: (tag: Spec, tags: Spec[]) => boolean;
|
|
22
|
-
export declare const getSwaggerVersionFromSpec: (tag: Spec) => "v2" | "v3" | "v4";
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { Spec } from "comment-parser";
|
|
2
|
-
/**
|
|
3
|
-
* A recursive deep-merge that ignores null values when merging.
|
|
4
|
-
* This returns the merged object and does not mutate.
|
|
5
|
-
* @param first the first object to get merged
|
|
6
|
-
* @param second the second object to get merged
|
|
7
|
-
*/
|
|
8
|
-
export declare const mergeDeep: (first?: object, second?: object) => object;
|
|
9
|
-
/**
|
|
10
|
-
* Checks if there is any properties of the input object which are an empty object.
|
|
11
|
-
* @param object the object to check
|
|
12
|
-
* @returns boolean
|
|
13
|
-
*/
|
|
14
|
-
export declare const hasEmptyProperty: (object: Record<string, any>) => boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Checks whether the given tag is present in tags.
|
|
17
|
-
* @param tag
|
|
18
|
-
* @param tags
|
|
19
|
-
* @returns boolean
|
|
20
|
-
*/
|
|
21
|
-
export declare const isTagPresentInTags: (tag: Spec, tags: Spec[]) => boolean;
|
|
22
|
-
export declare const getSwaggerVersionFromSpec: (tag: Spec) => "v2" | "v3" | "v4";
|
package/dist/util/yaml-loc.d.cts
DELETED
package/dist/util/yaml-loc.d.mts
DELETED
package/dist/util/yaml-loc.d.ts
DELETED
package/dist/validate.d.cts
DELETED
package/dist/validate.d.mts
DELETED
package/dist/validate.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { Compiler } from "webpack";
|
|
2
|
-
import type { BaseDefinition } from "../exported.d.cts";
|
|
3
|
-
declare class SwaggerCompilerPlugin {
|
|
4
|
-
private readonly assetsPath;
|
|
5
|
-
private readonly ignore;
|
|
6
|
-
private readonly sources;
|
|
7
|
-
private readonly swaggerDefinition;
|
|
8
|
-
private readonly verbose;
|
|
9
|
-
constructor(assetsPath: string, sources: string[], swaggerDefinition: BaseDefinition, options: {
|
|
10
|
-
ignore?: (RegExp | string)[];
|
|
11
|
-
verbose?: boolean;
|
|
12
|
-
});
|
|
13
|
-
apply(compiler: Compiler): void;
|
|
14
|
-
}
|
|
15
|
-
export = SwaggerCompilerPlugin;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { Compiler } from "webpack";
|
|
2
|
-
import type { BaseDefinition } from "../exported.d.mts";
|
|
3
|
-
declare class SwaggerCompilerPlugin {
|
|
4
|
-
private readonly assetsPath;
|
|
5
|
-
private readonly ignore;
|
|
6
|
-
private readonly sources;
|
|
7
|
-
private readonly swaggerDefinition;
|
|
8
|
-
private readonly verbose;
|
|
9
|
-
constructor(assetsPath: string, sources: string[], swaggerDefinition: BaseDefinition, options: {
|
|
10
|
-
ignore?: (RegExp | string)[];
|
|
11
|
-
verbose?: boolean;
|
|
12
|
-
});
|
|
13
|
-
apply(compiler: Compiler): void;
|
|
14
|
-
}
|
|
15
|
-
export default SwaggerCompilerPlugin;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { Compiler } from "webpack";
|
|
2
|
-
import type { BaseDefinition } from "../exported.d.ts";
|
|
3
|
-
declare class SwaggerCompilerPlugin {
|
|
4
|
-
private readonly assetsPath;
|
|
5
|
-
private readonly ignore;
|
|
6
|
-
private readonly sources;
|
|
7
|
-
private readonly swaggerDefinition;
|
|
8
|
-
private readonly verbose;
|
|
9
|
-
constructor(assetsPath: string, sources: string[], swaggerDefinition: BaseDefinition, options: {
|
|
10
|
-
ignore?: (RegExp | string)[];
|
|
11
|
-
verbose?: boolean;
|
|
12
|
-
});
|
|
13
|
-
apply(compiler: Compiler): void;
|
|
14
|
-
}
|
|
15
|
-
export = SwaggerCompilerPlugin;
|