(self, section, example, shape)
| 57 | closing_section.style.end_codeblock() |
| 58 | |
| 59 | def document_output(self, section, example, shape): |
| 60 | output_section = section.add_new_section('output') |
| 61 | output_section.style.new_line() |
| 62 | output_section.write('Expected Output:') |
| 63 | output_section.style.new_line() |
| 64 | output_section.style.start_codeblock() |
| 65 | params = example.get('output', {}) |
| 66 | |
| 67 | # There might not be an output, but we will return metadata anyway |
| 68 | params['ResponseMetadata'] = {"...": "..."} |
| 69 | comments = example.get('comments') |
| 70 | if comments: |
| 71 | comments = comments.get('output') |
| 72 | self._document_dict(output_section, params, comments, [], shape, True) |
| 73 | closing_section = output_section.add_new_section('output-close') |
| 74 | closing_section.style.end_codeblock() |
| 75 | |
| 76 | def _document(self, section, value, comments, path, shape): |
| 77 | """ |
no test coverage detected