def test_process_return_value_no_schema(sample_operation):
  """Tests when the 2xx response's content has no schema."""
  operation_no_schema = Operation(
      responses={
          '200': Response(
              description='Success',
              content={'application/json': MediaType(schema=None)},
          )
      }
  )
  parser = OperationParser(operation_no_schema, should_parse=False)
  parser._process_return_value()
  assert parser._return_value.type_hint == 'Any'
Tests when the 2xx response's content has no schema.
tests/unittests/tools/openapi_tool/openapi_spec_parser/test_operation_parser.py