(schema: JSONSchema7 | null | undefined, fallback: string)
| 386 | } |
| 387 | |
| 388 | export function getRpcSchemaTypeName(schema: JSONSchema7 | null | undefined, fallback: string): string { |
| 389 | if (typeof schema?.title === "string") return schema.title; |
| 390 | return fallback; |
| 391 | } |
| 392 | |
| 393 | /** |
| 394 | * Returns true if the schema represents an object with properties (i.e., a type that should |
no outgoing calls
no test coverage detected
searching dependent graphs…