(schema: JSONSchema7 | null | undefined, fallback: string)
| 1452 | } |
| 1453 | |
| 1454 | function getCSharpSchemaTypeName(schema: JSONSchema7 | null | undefined, fallback: string): string { |
| 1455 | if (schema?.$ref) return typeToClassName(refTypeName(schema.$ref, rpcDefinitions)); |
| 1456 | return getRpcSchemaTypeName(schema, fallback); |
| 1457 | } |
| 1458 | |
| 1459 | /** Returns the C# type for a method's result, accounting for nullable anyOf wrappers and opaque JSON. */ |
| 1460 | function resolvedResultTypeName(method: RpcMethod): string { |
no test coverage detected
searching dependent graphs…