Skip to content

Commit 8bb35f7

Browse files
authored
Fix typo swagger2openapi (#1229)
1 parent 1039ff1 commit 8bb35f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/schema-routes/schema-routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ export class SchemaRoutes {
376376
// const refTypeWithoutOpId = refType.replace(operationId, '');
377377
// const foundedSchemaByName = _.find(parsedSchemas, ({ name }) => name === refType || name === refTypeWithoutOpId)
378378

379-
// TODO:HACK fix problem of swagger2opeanpi
379+
// TODO:HACK fix problem of swagger2openapi
380380
const typeNameWithoutOpId = refTypeInfo.typeName.replace(operationId, "");
381381
if (parsedSchemas.find((schema) => schema.name === typeNameWithoutOpId)) {
382382
return this.typeNameFormatter.format(typeNameWithoutOpId);

0 commit comments

Comments
 (0)