Achieve subpath endpoint exceptions in Kong with one service with many routes

How to achieve endpoint exceptions in Kong with one service ie but can be many routes

for example-service(apply common rate limit for all paths)

do not apply oas/jwt/keyauth plugins for below paths
/example-service/health
/example-service/swagger

for all other subpath apply oas/jwt/keyauth plugins
/example-service/*