@midwayjs/swagger 3.11.10 → 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> extends Function {
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.10",
3
+ "version": "3.11.12",
4
4
  "main": "dist/index",
5
5
  "typings": "index.d.ts",
6
6
  "files": [
@@ -9,11 +9,11 @@
9
9
  "index.d.ts"
10
10
  ],
11
11
  "devDependencies": {
12
- "@midwayjs/core": "^3.11.6",
13
- "@midwayjs/koa": "^3.11.10",
14
- "@midwayjs/mock": "^3.11.10",
15
- "@midwayjs/validate": "^3.11.10",
16
- "swagger-ui-dist": "4.19.0"
12
+ "@midwayjs/core": "^3.11.11",
13
+ "@midwayjs/koa": "^3.11.12",
14
+ "@midwayjs/mock": "^3.11.12",
15
+ "@midwayjs/validate": "^3.11.12",
16
+ "swagger-ui-dist": "4.19.1"
17
17
  },
18
18
  "author": "Kurten Chan <chinkurten@gmail.com>",
19
19
  "license": "MIT",
@@ -27,5 +27,5 @@
27
27
  "type": "git",
28
28
  "url": "https://github.com/midwayjs/midway.git"
29
29
  },
30
- "gitHead": "521c42cc4af8850b77c5cf1f040b7430a74db041"
30
+ "gitHead": "7454a59cd57e693a04e4c887535c9193354e2980"
31
31
  }