File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -9,22 +9,22 @@ export interface OpenAPI3Schemas {
9
9
}
10
10
11
11
export interface OpenAPI3Paths {
12
- [ path : string ] : Partial < OpenAPI3PathItem > ;
12
+ [ path : string ] : OpenAPI3PathItemObject ;
13
13
}
14
14
15
- export type OpenAPI3PathItem = {
16
- $ref : string ;
17
- summary : string ;
18
- description : string ;
19
- get : OpenAPI3Operation ;
20
- put : OpenAPI3Operation ;
21
- post : OpenAPI3Operation ;
22
- delete : OpenAPI3Operation ;
23
- options : OpenAPI3Operation ;
24
- head : OpenAPI3Operation ;
25
- patch : OpenAPI3Operation ;
26
- trace : OpenAPI3Operation ;
27
- parameters : Parameter [ ] ;
15
+ export type OpenAPI3PathItemObject = {
16
+ $ref ? : string ;
17
+ summary ? : string ;
18
+ description ? : string ;
19
+ get ? : OpenAPI3Operation ;
20
+ put ? : OpenAPI3Operation ;
21
+ post ? : OpenAPI3Operation ;
22
+ delete ? : OpenAPI3Operation ;
23
+ options ? : OpenAPI3Operation ;
24
+ head ? : OpenAPI3Operation ;
25
+ patch ? : OpenAPI3Operation ;
26
+ trace ? : OpenAPI3Operation ;
27
+ parameters ? : Parameter [ ] ;
28
28
} ;
29
29
30
30
export interface OpenAPI3Operation {
You can’t perform that action at this time.
0 commit comments