Documents top-level parameter enums
(self, model, doc)
| 242 | pass |
| 243 | |
| 244 | def _document_enums(self, model, doc): |
| 245 | """Documents top-level parameter enums""" |
| 246 | if isinstance(model, StringShape): |
| 247 | if model.enum: |
| 248 | doc.style.new_paragraph() |
| 249 | doc.write('Possible values:') |
| 250 | doc.style.start_ul() |
| 251 | for enum in model.enum: |
| 252 | doc.style.li(f'``{enum}``') |
| 253 | doc.style.end_ul() |
| 254 | |
| 255 | def _document_nested_structure(self, model, doc): |
| 256 | """Recursively documents parameters in nested structures""" |
no test coverage detected