File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " bcgov-typescript-codegen" ,
3- "version" : " 1.0.0 " ,
3+ "version" : " 1.0.5 " ,
44 "description" : " Library that generates Typescript clients based on the openapi-typescript-codegen." ,
55 "author" : " Ferdi Koomen, Craig Yu" ,
66 "homepage" : " https://github.com/bcgov/typescript-codegen" ,
Original file line number Diff line number Diff line change @@ -12,8 +12,7 @@ export const getOpenApiSpec = async (location: string): Promise<any> => {
1212 const isUrl = location . startsWith ( 'http://' ) || location . startsWith ( 'https://' ) ;
1313
1414 if ( isUrl ) {
15- // Avoid resolving self-referencing $refs in URL-based specs
16- return await RefParser . parse ( location ) ;
15+ return await RefParser . dereference ( location ) ;
1716 }
1817
1918 const absolutePath = ( await exists ( location ) ) ? resolve ( location ) : location ;
You can’t perform that action at this time.
0 commit comments