code: def get_resource_operations(cls):
          '''Return the swagger-formatted method descriptions'''
          operations = []
          for http, callback in cls.implemented_methods.items():
              # Parse docstring
              summary, notes = utils.parse_docstring(callback)
              # Parse return annotations
              responses = utils.parse_return_annotation(callback)
              ok_result_model = responses[200]['responseModel']
              operations.append({
                  'method': http,
                  'nickname': callback.__name__,
                  'type': ok_result_model,
                  'parameters': cls.parse_signature(callback),
                  'summary': summary.strip(),
                  'notes': notes.strip(),
                  'responseMessages': list(responses.values())
              })
          return operationf get_resource_operations(cls):
          '''Return the swagger-formatted method descriptions'''
          operations = []
          for http, callback in cls.implemented_methods.items():
              # Parse docstring
              summary, notes = utils.parse_docstring(callback)
              # Parse return annotations
              responses = utils.parse_return_annotation(callback)
              ok_result_model = responses[200]['responseModel']
              operations.append({
                  'method': http,
                  'nickname': callback.__name__,
                  'type': ok_result_model,
                  'parameters': cls.parse_signature(callback),
                  'summary': summary.strip(),
                  'notes': notes.strip(),
                  'responseMessages': list(responses.values())
              })
          return operations
docs: Return the swagger-formatted method descriptions