- Bumped version

This commit is contained in:
Ferdi Koomen 2021-02-18 23:21:21 +01:00
parent 1ef9bd9e13
commit 8ea9aaf52b
2 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "openapi-typescript-codegen",
"version": "0.8.1",
"version": "0.9.0",
"description": "Library that generates Typescript clients based on the OpenAPI specification.",
"author": "Ferdi Koomen",
"homepage": "https://github.com/ferdikoomen/openapi-typescript-codegen",

View File

@ -1,5 +1,5 @@
import RefParser from 'json-schema-ref-parser';
import { load } from 'js-yaml';
import RefParser from 'json-schema-ref-parser';
import { extname } from 'path';
import { readSpec } from './readSpec';
@ -32,6 +32,5 @@ export async function getOpenApiSpec(input: string): Promise<any> {
}
break;
}
const transformed = await RefParser.bundle(rootObject);
return transformed;
return await RefParser.bundle(rootObject);
}