This repository was archived by the owner on Dec 10, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 39
39
"@types/fs-extra" : " ^4.0.0" ,
40
40
"@types/jest" : " ^20.0.2" ,
41
41
"@types/js-yaml" : " ^3.5.31" ,
42
+ "@types/json-schema" : " ^7.0.3" ,
42
43
"@types/node" : " ^8.0.7" ,
43
44
"@types/uuid" : " ^3.0.0" ,
44
45
"changelog-verify" : " ^1.0.4" ,
Original file line number Diff line number Diff line change
1
+ import { JSONSchema7 } from 'json-schema' ;
1
2
2
3
export interface IModels {
3
4
name : string ;
4
5
description : string ;
5
6
contentType : string ;
6
- schema : object | any [ ] ;
7
+ schema : JSONSchema7 ;
7
8
examples : any [ ] ;
8
9
example : object ;
9
10
}
Original file line number Diff line number Diff line change 45
45
version "3.9.1"
46
46
resolved "https://registry.yarnpkg.com/@types/js-yaml/-/js-yaml-3.9.1.tgz#2f3c142771bb345829ce690c5838760b6b9ba553"
47
47
48
+ " @types/json-schema@^7.0.3 " :
49
+ version "7.0.3"
50
+ resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.3.tgz#bdfd69d61e464dcc81b25159c270d75a73c1a636"
51
+ integrity sha512-Il2DtDVRGDcqjDtE+rF8iqg1CArehSK84HZJCT7AMITlyXRBpuPhqGLDQMowraqqu1coEaimg4ZOqggt6L6L+A==
52
+
48
53
" @types/node@*" , "@types/node@^8.0.7":
49
54
version "8.0.25"
50
55
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.25.tgz#66ecaf4df93f5281b48427ee96fbcdfc4f0cdce1"
You can’t perform that action at this time.
0 commit comments