NoMethodError: undefined method `url_prefix=' for #<RspecApiDocumentation::Configuration:0x00007f9d24133d50>

Hi,
NoMethodError:
undefined method `url_prefix=’ for #RspecApiDocumentation::Configuration:0x00007f9d24133d50
Getting this error while running rspec, could anyone help me out to solve this, Thanks in advance