The `pathPatterns` args are relative to the patterns configured for the
resource handler.
Issue: SPR-14817
Cherry-picked from: 52f664139
The `pathPatterns` args are relative to the patterns configured for the
resource handler.
Issue: SPR-14817
Cherry-picked from: 52f664139