| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | protected function generateParams(Parameters $params, Table $model) { |
||
| 11 | $body = $params->getByName('body'); |
||
| 12 | $body->setName('body'); |
||
| 13 | $body->setIn('body'); |
||
| 14 | $body->setDescription(sprintf('The new %s', $model->getOriginCommonName())); |
||
| 15 | $body->setRequired(true); |
||
| 16 | $body->getSchema()->setRef('#/definitions/Writable' . $model->getPhpName()); |
||
| 17 | } |
||
| 18 | |||
| 23 | } |