Skip to content

Commit

Permalink
chore: compliance with changes
Browse files Browse the repository at this point in the history
  • Loading branch information
olehshh committed Jan 6, 2025
1 parent 0a63a1e commit e8dab46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/openapi/refs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ export default class OpenAPIRefsCommand extends BaseCommand<typeof OpenAPIRefsCo
this.debug(`Switching working directory from ${previousWorkingDirectory} to ${process.cwd()}`);
}

const { preparedSpec, specPath, specType } = await prepareOas(spec, 'openapi refs', { convertToLatest: true });
const { preparedSpec, specPath, specType } = await prepareOas(spec, 'openapi refs');
if (specType !== 'OpenAPI') {
throw new Error('Sorry, this ref resolver feature in rdme only supports OpenAPI 3.0+ definitions.');
}
Expand Down

0 comments on commit e8dab46

Please sign in to comment.