File tree 2 files changed +8
-2
lines changed 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 42
42
"js-yaml" : " ^3.11.0" ,
43
43
"lodash" : " ^4.17.5" ,
44
44
"openapi-schema-to-json-schema" : " ^2.1.0" ,
45
+ "openapi3-ts" : " ^1.0.0" ,
45
46
"parseurl" : " ^1.3.2" ,
46
47
"path-to-regexp" : " ^2.2.0" ,
47
48
"qs" : " ^6.5.2" ,
Original file line number Diff line number Diff line change 5
5
6
6
import { CoreBindings } from '@loopback/core' ;
7
7
import { BindingKey , Context } from '@loopback/context' ;
8
- import { OpenApiSpec } from '@loopback/openapi-v3-types' ;
8
+
9
+ /**
10
+ * See https://github.com/Microsoft/TypeScript/issues/26985
11
+ */
12
+ // import {OpenApiSpec} from '@loopback/openapi-v3-types';
13
+ import { OpenAPIObject } from 'openapi3-ts' ;
9
14
10
15
import { HttpHandler } from './http-handler' ;
11
16
import { SequenceHandler } from './sequence' ;
@@ -75,7 +80,7 @@ export namespace RestBindings {
75
80
/**
76
81
* Binding key for setting and injecting an OpenAPI spec
77
82
*/
78
- export const API_SPEC = BindingKey . create < OpenApiSpec > ( 'rest.apiSpec' ) ;
83
+ export const API_SPEC = BindingKey . create < OpenAPIObject > ( 'rest.apiSpec' ) ;
79
84
/**
80
85
* Binding key for setting and injecting a Sequence
81
86
*/
You can’t perform that action at this time.
0 commit comments