We've already said it's an array of {type}
(items, indent)
| 99 | |
| 100 | |
| 101 | def output_array(items, indent): |
| 102 | """We've already said it's an array of {type}""" |
| 103 | if items['type'] == 'object': |
| 104 | output_members(items, indent) |
| 105 | elif items['type'] == 'array': |
| 106 | output(indent + '- {}:\n'.format(items['description'])) |
| 107 | output_array(items['items'], indent + ' ') |
| 108 | else: |
| 109 | output(indent + '- {}'.format(items['description'])) |
| 110 | output_range(items) |
| 111 | output('\n') |
| 112 | |
| 113 | |
| 114 | def has_members(sub): |
no test coverage detected