(c)
| 651 | } |
| 652 | |
| 653 | function schemaToCommand(c) { |
| 654 | return { |
| 655 | domain: c.domain, |
| 656 | methodStr: c.method, |
| 657 | methodName: c.name, |
| 658 | paramsTypeName: c.params ? normalizeDottedName(c.params.ref) : null, |
| 659 | hasParams: c.params !== null, |
| 660 | resultTypeName: c.result ? normalizeDottedName(c.result.ref) : null, |
| 661 | } |
| 662 | } |
| 663 | |
| 664 | // ============================================================ |
| 665 | // Vendor variants (schema `vendor.<namespace>`) |
no test coverage detected