OAI-PMH REST endpoint docs fix

Steps to reproduce

OAI-PMH REST endpoint /oaipmhinfo/hasrepo/<repoId> expect a path parameter as string (as part of the url) and not as text (query parameter). Otherwise rest docs renderer can not handle it properly.

How to test:
Call http://localhost:8080/oaipmhinfo/hasrepo/default should return true on default configuration.
Go to http://localhost:8080/docs.html?path=/oaipmhinfo#hasRepo-1 type default for repoId parameter and submit.

Fixed and reviewed


Waldemar Smirnow


Waldemar Smirnow


Incorrectly Functioning With Workaround