@openapi-codegen/typescript
Advanced tools
Comparing version 6.2.1 to 6.2.2
@@ -133,3 +133,3 @@ "use strict"; | ||
const members = Object.entries(schema.properties || {}).map(([key, property]) => { | ||
const isEnum = "enum" in property && useEnumsConfigBase; | ||
const isEnum = typeof property === "object" && "enum" in property && useEnumsConfigBase; | ||
const propertyNode = typescript_1.factory.createPropertySignature(undefined, (0, tsutils_1.isValidIdentifier)(key) | ||
@@ -136,0 +136,0 @@ ? typescript_1.factory.createIdentifier(key) |
{ | ||
"name": "@openapi-codegen/typescript", | ||
"version": "6.2.1", | ||
"version": "6.2.2", | ||
"description": "OpenAPI Codegen typescript generators", | ||
@@ -44,3 +44,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "881cc80aaacdcb9d147b409f7ccc6e5b3a88120d" | ||
"gitHead": "6e2aa7b951ac6472052e23d0d64f43f783e8f478" | ||
} |
Sorry, the diff of this file is not supported yet
237283