File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,10 @@ export class CodeGenProcess {
5050 constructor ( config : Partial < GenerateApiConfiguration [ "config" ] > ) {
5151 this . config = new CodeGenConfig ( config ) ;
5252 this . fileSystem = new FileSystem ( ) ;
53- this . swaggerSchemaResolver = new SwaggerSchemaResolver ( this ) ;
53+ this . swaggerSchemaResolver = new SwaggerSchemaResolver (
54+ this . config ,
55+ this . fileSystem ,
56+ ) ;
5457 this . schemaWalker = new SchemaWalker (
5558 this . config ,
5659 this . swaggerSchemaResolver ,
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export class SwaggerSchemaResolver {
1111 fileSystem : FileSystem ;
1212 request : Request ;
1313
14- constructor ( { config, fileSystem } ) {
14+ constructor ( config : CodeGenConfig , fileSystem : FileSystem ) {
1515 this . config = config ;
1616 this . fileSystem = fileSystem ;
1717 this . request = new Request ( config ) ;
You can’t perform that action at this time.
0 commit comments