Currently hard coded in the middleware to /oai/request. Tried using the setting from the REST OAI-PMH module but it doesn't seem to be accessible. \Drupal::config('rest_oai_pmh.settings')->get('repository_path')->get('repository_path'); should work (that syntax works for other configs) but it's coming back NULL in all cases.
Currently hard coded in the middleware to
/oai/request
. Tried using the setting from the REST OAI-PMH module but it doesn't seem to be accessible.\Drupal::config('rest_oai_pmh.settings')->get('repository_path')->get('repository_path');
should work (that syntax works for other configs) but it's coming back NULL in all cases.