@midwayjs/swagger 3.11.11 → 3.11.12
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.
|
@@ -241,7 +241,7 @@ export type SecurityRequirementObject = Record<string, string[]>;
|
|
|
241
241
|
* 非 open api spec
|
|
242
242
|
*/
|
|
243
243
|
export type SwaggerEnumType = string[] | number[] | (string | number)[] | Record<number, string>;
|
|
244
|
-
export interface Type<T = any>
|
|
244
|
+
export interface Type<T = any> {
|
|
245
245
|
new (...args: any[]): T;
|
|
246
246
|
}
|
|
247
247
|
export interface SchemaObjectMetadata extends Omit<SchemaObject, 'type' | 'required'> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midwayjs/swagger",
|
|
3
|
-
"version": "3.11.
|
|
3
|
+
"version": "3.11.12",
|
|
4
4
|
"main": "dist/index",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
],
|
|
11
11
|
"devDependencies": {
|
|
12
12
|
"@midwayjs/core": "^3.11.11",
|
|
13
|
-
"@midwayjs/koa": "^3.11.
|
|
14
|
-
"@midwayjs/mock": "^3.11.
|
|
15
|
-
"@midwayjs/validate": "^3.11.
|
|
13
|
+
"@midwayjs/koa": "^3.11.12",
|
|
14
|
+
"@midwayjs/mock": "^3.11.12",
|
|
15
|
+
"@midwayjs/validate": "^3.11.12",
|
|
16
16
|
"swagger-ui-dist": "4.19.1"
|
|
17
17
|
},
|
|
18
18
|
"author": "Kurten Chan <chinkurten@gmail.com>",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"type": "git",
|
|
28
28
|
"url": "https://github.com/midwayjs/midway.git"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "7454a59cd57e693a04e4c887535c9193354e2980"
|
|
31
31
|
}
|