(c)
| 628 | } |
| 629 | |
| 630 | function schemaToCommand(c) { |
| 631 | return { |
| 632 | domain: c.domain, |
| 633 | methodStr: c.method, |
| 634 | methodName: c.name, |
| 635 | paramsTypeName: c.params ? normalizeDottedName(c.params.ref) : null, |
| 636 | hasParams: c.params !== null, |
| 637 | resultTypeName: c.result ? normalizeDottedName(c.result.ref) : null, |
| 638 | } |
| 639 | } |
| 640 | |
| 641 | // ============================================================ |
| 642 | // Vendor variants (schema `vendor.<namespace>`) |
no test coverage detected