mirror of
https://github.com/ferdikoomen/openapi-typescript-codegen.git
synced 2025-12-08 20:16:21 +00:00
- Bumped version
This commit is contained in:
parent
1ef9bd9e13
commit
8ea9aaf52b
@ -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",
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user