With update of spring-web library, parsing of path parameters in DataServices changed its behaviour. It does not match parameter if value contains slash ('/').
So for example service with path:
used to match for
but it does not match since 5.1.
As this is standard behaviour, we do not want to change it. But, there is an option to use regular expression in path parameters to influence matching of URL.
If user wants path parameter to accept even slash (or use any other pattern matching functionality on parameter, he can write path parameter in URL like this:
such parameter will allow to accept any character (even slash).
It works server side even with 5.1, but we need to implement support for this in Designer. Endpoint Configuration tab will respect ':' in path parameter and will use only everything before ':' as parameter name.
Currently user has to manually update parameter name in rjob source code.
Seems like SwaggerUI used for testing and documentation already supports it.
- implement support in Designer (Endpoint configuration)
- document using of regular expression in path parameters
- update DataServices example to use regular expression
- create test for parsing of path parameters using regular expression