Update `MappingWebEndpointPathMapper` to keep the original case rather than using a lower-case version. Closes gh-14773