You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/Users/karupanerura/src/github.com/karupanerura/openapi-typescript-code-generator/src/internal/OpenApiTools/Guard.ts:58
return !!schema.oneOf && typeof schema.oneOf !== "boolean" && Array.isArray(schema.oneOf);
^
TypeError: Cannot read properties of undefined (reading 'oneOf')
at Object.isOneOfSchema (/Users/karupanerura/src/github.com/karupanerura/openapi-typescript-code-generator/src/internal/OpenApiTools/Guard.ts:58:19)
at Object.convert (/Users/karupanerura/src/github.com/karupanerura/openapi-typescript-code-generator/src/internal/OpenApiTools/toTypeNode.ts:129:13)
at createTypeNode (/Users/karupanerura/src/github.com/karupanerura/openapi-typescript-code-generator/src/internal/OpenApiTools/components/Schemas.ts:43:29)
at /Users/karupanerura/src/github.com/karupanerura/openapi-typescript-code-generator/src/internal/OpenApiTools/components/Schemas.ts:51:19
at Array.forEach (<anonymous>)
at Object.generateNamespace (/Users/karupanerura/src/github.com/karupanerura/openapi-typescript-code-generator/src/internal/OpenApiTools/components/Schemas.ts:30:27)
at Parser.initialize (/Users/karupanerura/src/github.com/karupanerura/openapi-typescript-code-generator/src/internal/OpenApiTools/Parser.ts:41:17)
at new Parser (/Users/karupanerura/src/github.com/karupanerura/openapi-typescript-code-generator/src/internal/OpenApiTools/Parser.ts:33:10)
at CodeGenerator.createParser (/Users/karupanerura/src/github.com/karupanerura/openapi-typescript-code-generator/src/index.ts:32:12)
at new CodeGenerator (/Users/karupanerura/src/github.com/karupanerura/openapi-typescript-code-generator/src/index.ts:27:24)
The expected behavior
No error to resolve the referenceBaz.
The text was updated successfully, but these errors were encountered:
Steps To Reproduce
Failed to resolve the references following:
The current behavior
The expected behavior
No error to resolve the reference
Baz
.The text was updated successfully, but these errors were encountered: