File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " openapi-typescript-codegen" ,
3
- "version" : " 0.11.4 " ,
3
+ "version" : " 0.11.5 " ,
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 @@ -4,8 +4,8 @@ import RefParser from 'json-schema-ref-parser';
4
4
* Load and parse te open api spec. If the file extension is ".yml" or ".yaml"
5
5
* we will try to parse the file as a YAML spec, otherwise we will fallback
6
6
* on parsing the file as JSON.
7
- * @param input
7
+ * @param ___location: Path or url
8
8
*/
9
- export async function getOpenApiSpec ( input : string ) : Promise < any > {
10
- return await RefParser . bundle ( input ) ;
9
+ export async function getOpenApiSpec ( ___location : string ) : Promise < any > {
10
+ return await RefParser . bundle ( ___location , ___location , { } ) ;
11
11
}
You can’t perform that action at this time.
0 commit comments