(typeName: string, usedNames: Set<string>)
| 1060 | } |
| 1061 | |
| 1062 | function toUnionVariantPropertyName(typeName: string, usedNames: Set<string>): string { |
| 1063 | const shortName = typeName.split(".").pop() ?? typeName; |
| 1064 | return uniqueCSharpIdentifier(shortName, usedNames, "Value"); |
| 1065 | } |
| 1066 | |
| 1067 | function tryGenerateSessionJsonUnionType( |
| 1068 | schema: JSONSchema7, |
no test coverage detected
searching dependent graphs…