We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1039ff1 commit 8bb35f7Copy full SHA for 8bb35f7
src/schema-routes/schema-routes.ts
@@ -376,7 +376,7 @@ export class SchemaRoutes {
376
// const refTypeWithoutOpId = refType.replace(operationId, '');
377
// const foundedSchemaByName = _.find(parsedSchemas, ({ name }) => name === refType || name === refTypeWithoutOpId)
378
379
- // TODO:HACK fix problem of swagger2opeanpi
+ // TODO:HACK fix problem of swagger2openapi
380
const typeNameWithoutOpId = refTypeInfo.typeName.replace(operationId, "");
381
if (parsedSchemas.find((schema) => schema.name === typeNameWithoutOpId)) {
382
return this.typeNameFormatter.format(typeNameWithoutOpId);
0 commit comments