File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " openapi-typescript-codegen" ,
3
- "version" : " 0.8.1 " ,
3
+ "version" : " 0.9.0 " ,
4
4
"description" : " Library that generates Typescript clients based on the OpenAPI specification." ,
5
5
"author" : " Ferdi Koomen" ,
6
6
"homepage" : " https://github.com/ferdikoomen/openapi-typescript-codegen" ,
Original file line number Diff line number Diff line change 1
- import RefParser from 'json-schema-ref-parser' ;
2
1
import { load } from 'js-yaml' ;
2
+ import RefParser from 'json-schema-ref-parser' ;
3
3
import { extname } from 'path' ;
4
4
5
5
import { readSpec } from './readSpec' ;
@@ -32,6 +32,5 @@ export async function getOpenApiSpec(input: string): Promise<any> {
32
32
}
33
33
break ;
34
34
}
35
- const transformed = await RefParser . bundle ( rootObject ) ;
36
- return transformed ;
35
+ return await RefParser . bundle ( rootObject ) ;
37
36
}
You can’t perform that action at this time.
0 commit comments