# help

Katherine Mostovaya

10/13/2023, 8:33 AM
Hello guys, how do I add my StubRequestFilterV2 implementation to a particular request stub mapping (in json)? I've registered the class as an extension but the filter is not applied, I run my wiremock as a standalone service. Thank you!


10/13/2023, 9:29 AM
Hi Katherine, you can’t apply filters to specific stubs because at that point in the request processing flow we don’t know which stub we’ve matched. I suggest trying to implement the behaviour you need via a ResponseDefinitionTransformerV2 as these are applied after the stub is matched and can therefore be targeted at specific stubs.