File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export { ConfigTypes } from './types/redocly-yaml';
1717export type {
1818 Oas3Definition ,
1919 Oas3_1Definition ,
20- Oas3ComponentsBase ,
20+ Oas3Components ,
2121 Oas3_1Components ,
2222 Oas3PathItem ,
2323 Oas3Paths ,
Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ export interface Oas3RequestBody<T extends Oas3Schema | Oas3_1Schema = Oas3Schem
236236 content : { [ mime : string ] : Oas3MediaType < T > } ;
237237}
238238
239- export interface Oas3Responses < T extends Oas3Schema | Oas3_1Schema > {
239+ export interface Oas3Responses < T extends Oas3Schema | Oas3_1Schema = Oas3Schema | Oas3_1Schema > {
240240 [ code : string ] : Oas3Response < T > ;
241241}
242242
@@ -284,7 +284,8 @@ export interface Oas3_1Components extends Oas3ComponentsBase<Oas3_1Schema> {
284284
285285export interface Oas3Components extends Oas3ComponentsBase < Oas3Schema > { }
286286
287- export type Oas3ComponentName < T extends Oas3Schema | Oas3_1Schema > = keyof Oas3ComponentsBase < T > ;
287+ export type Oas3ComponentName < T extends Oas3Schema | Oas3_1Schema = Oas3Schema | Oas3_1Schema > =
288+ keyof Oas3ComponentsBase < T > ;
288289
289290export interface Oas3SecurityRequirement {
290291 [ name : string ] : string [ ] ;
You can’t perform that action at this time.
0 commit comments