@classmethod<EOL><INDENT>def get_response_example(cls, operation, response):<DEDENT>
path = "<STR_LIT>".format(<EOL>operation.path, operation.method, response.name)<EOL>kwargs = dict(paths=[path])<EOL>if response.type in PRIMITIVE_TYPES:<EOL><INDENT>result = cls.get_example_value_for_primitive_type(<EOL>response.type, response.properties, response.type_format, **kwargs)<EOL><DEDENT>else:<EOL><INDENT>schema = SchemaObjects.get(response.type)<EOL>result = cls.get_example_by_schema(schema, **kwargs)<EOL><DEDENT>return result<EOL>
Get example for response object by operation object

        :param Operation operation: operation object
        :param Response response: response object